zxybazh commented on a change in pull request #7809:
URL: https://github.com/apache/tvm/pull/7809#discussion_r617210922
##########
File path: python/tvm/ir/op.py
##########
@@ -115,3 +127,43 @@ def _register(v):
return v
return _register(value) if value is not None else _register
+
+
+def register_op_intrin_lowering(
+ op_name,
+ target,
+ f=None,
+ level=10,
+ override=False,
+):
Review comment:
Ah I see. With default values things could be a lot easier. I would
prefer to use `def register_intrin_lowering(op_name, target, *, f=None,
level=10, override=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.
For queries about this service, please contact Infrastructure at:
[email protected]