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 2022/09/12 18:02:19 UTC

[GitHub] [tvm] junrushao commented on a diff in pull request #12755: [TVMScript] IRBuilder methods for `PrimFunc`

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


##########
python/tvm/script/ir_builder/tir/ir.py:
##########
@@ -65,11 +358,121 @@ def evaluate(value: PrimExpr) -> None:
     return _ffi_api.Evaluate(value)  # pylint: disable=no-member # type: ignore
 
 
+def int8(expr: Optional[PrimExpr] = None) -> PrimExpr:
+    return _ffi_api.Int8(expr)  # pylint: disable=no-member # type: ignore

Review Comment:
   please add some documentation here :-)



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