ashutosh-arm commented on code in PR #13637:
URL: https://github.com/apache/tvm/pull/13637#discussion_r1052044444
##########
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:
I thought after this is fixed in 23.02, it will be worth having both the
cases as a test.
--
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]