lhutton1 commented on code in PR #13637:
URL: https://github.com/apache/tvm/pull/13637#discussion_r1052062078
##########
tests/python/contrib/test_ethosn/test_leaky_relu.py:
##########
@@ -55,9 +56,12 @@ def test_leaky_relu(dtype, shape, alpha):
iinfo = np.iinfo(dtype)
zp_min = iinfo.min
zp_max = iinfo.max
- input_zp = zp_min + 120
+ if ethosn_api_version() == "3.2.0":
+ input_zp = zp_min + 128
+ else:
+ input_zp = zp_min + 120
Review Comment:
Ah okay make sense, let's leave it for now then :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]