tqchen commented on code in PR #15140:
URL: https://github.com/apache/tvm/pull/15140#discussion_r1238894001


##########
tests/python/relax/test_tvmscript_parser.py:
##########
@@ -254,7 +256,7 @@ def main(x: R.Tensor((10, 20), "float32")) -> R.Tensor((10, 
20), dtype="float32"
 
     bb = relax.BlockBuilder()
     x = relax.Var("x", relax.TensorStructInfo([10, 20], "float32"))
-    with bb.function("main", [x]):
+    with bb.function("main", [x], {"global_symbol": "main"}):

Review Comment:
   how about we also have private=False flag here(default to False)



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