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 2023/01/04 19:24:14 UTC

[GitHub] [tvm] junrushao commented on a diff in pull request #13692: [BugFix][TVMScript] Fix the roundtripability of intrinsic pow

junrushao commented on code in PR #13692:
URL: https://github.com/apache/tvm/pull/13692#discussion_r1061812640


##########
python/tvm/script/ir_builder/tir/ir.py:
##########
@@ -1532,7 +1532,7 @@ def wrapped(*args, **kwargs):
 nearbyint = _op_wrapper(_tir_op.nearbyint)
 nextafter = _op_wrapper(_tir_op.nextafter)
 popcount = _op_wrapper(_tir_op.popcount)
-power = _op_wrapper(_tir_op.power)
+pow = _op_wrapper(_tir_op.power)  # pylint: disable=redefined-builtin

Review Comment:
   I was thinking if we could add a `pow` method to `tvm/tir/op.py` so that it could be consistent



-- 
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: commits-unsubscribe@tvm.apache.org

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