mbrookhart commented on a change in pull request #8883:
URL: https://github.com/apache/tvm/pull/8883#discussion_r703789136



##########
File path: python/tvm/ir/affine_type.py
##########
@@ -50,8 +50,10 @@ class TensorAffineType(AffineType):
         The content data type.
     """
 
-    def __init__(self, scale, zero_point, dtype):
-        self.__init_handle_by_constructor__(_ffi_api.TensorAffineType, scale, 
zero_point, dtype)
+    def __init__(self, scale, zero_point, dtype, axis=-1):

Review comment:
       Yeah, quantize and dequantize default to -1, so I was matching the 
design across the rest of the codebase




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