You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/08/04 03:30:35 UTC

[GitHub] [tvm] mbrookhart commented on a diff in pull request #12287: [QNN] Add qnn op for abs to fix wrong scale on quantize

mbrookhart commented on code in PR #12287:
URL: https://github.com/apache/tvm/pull/12287#discussion_r937315065


##########
tests/python/relay/test_pass_fake_quantization_to_integer.py:
##########
@@ -27,6 +27,9 @@ def compare_fq_to_int(expr, args, allow_rounding_error=False):
     mod = tvm.IRModule.from_expr(expr)
     mod = tvm.relay.transform.InferType()(mod)
     mod_int = tvm.relay.transform.FakeQuantizationToInteger()(mod)
+    print(mod)
+    print("-----")
+    print(mod_int)

Review Comment:
   Remove extra prints



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org