Lunderberg commented on code in PR #15855:
URL: https://github.com/apache/tvm/pull/15855#discussion_r1376709036


##########
tests/python/relax/test_vm_codegen_only.py:
##########
@@ -421,5 +421,89 @@ def main() -> R.Tensor((4,), dtype="float32"):
     tvm.testing.assert_allclose(res.numpy(), np.ones((4,), "float32"))
 
 
[email protected]
+def packed_func_check_if_exists():
+    func_name = "testing.check_if_none"
+
+    cached = tvm.get_global_func(func_name, allow_missing=True)
+
+    @tvm.register_func(func_name, override=True)

Review Comment:
   Sounds good, and updated!



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