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 2021/01/15 02:34:03 UTC

[GitHub] [tvm] comaniac commented on a change in pull request #7288: [BYOC][bugfix] Handle empty tuples in annotation pass

comaniac commented on a change in pull request #7288:
URL: https://github.com/apache/tvm/pull/7288#discussion_r557824491



##########
File path: tests/python/relay/test_pass_annotate_target.py
##########
@@ -738,8 +738,8 @@ def after():
         mod = tvm.IRModule.from_expr(func)
         return mod
 
-    for annotate_non_call_ops in [True, False, True]:
-        result = transform.AnnotateTarget(target)(before())
+    for annotate_non_call_ops in [True, False]:
+        result = transform.AnnotateTarget(target, annotate_non_call_ops)(before())

Review comment:
       Good catch. Looks like a miss.




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

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