anwang2009 commented on a change in pull request #9028:
URL: https://github.com/apache/tvm/pull/9028#discussion_r710307985



##########
File path: python/tvm/relay/frontend/onnx.py
##########
@@ -3176,7 +3176,7 @@ def _impl_v10(cls, inputs, attr, params):
     @classmethod
     def _impl_v13(cls, inputs, attr, params):
         data, scale, zp = inputs
-        axis = attr.get("axis", 1)
+        axis = attr.get("axis", 0)

Review comment:
       yeah confirmed docs are correct, here is where the default is set: 
https://github.com/microsoft/onnxruntime/blob/master/onnxruntime/core/providers/cpu/tensor/quantize_linear.h#L17




-- 
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]


Reply via email to