Hzfengsy commented on code in PR #16278:
URL: https://github.com/apache/tvm/pull/16278#discussion_r1436794123
##########
python/tvm/relax/frontend/nn/op.py:
##########
@@ -1461,13 +1461,87 @@ def _convert(arg):
OutType = TypeVar("OutType", bound=Union[Tensor, Sequence[Tensor]])
+def tensor_ir_op(
+ func: _tir.PrimFunc,
+ name_hint: str,
Review Comment:
I agree and thanks for pointing it out. However, the current Python
interface `AddFunction` also treats it as `name_hint`, which may be renamed if
conflicts exist.
It would be an independent problem out of the scope of this PR.
--
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]