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 2021/11/02 20:45:33 UTC

[GitHub] [tvm] shingjan commented on a change in pull request #9432: [TIR][WIP] Add type hint for TIR

shingjan commented on a change in pull request #9432:
URL: https://github.com/apache/tvm/pull/9432#discussion_r741449460



##########
File path: python/tvm/tir/__init__.pyi
##########
@@ -0,0 +1,612 @@
+from typing import (

Review comment:
       Thanks for the prompt review! There is a discussion in which Wuwei and I decided to put `PrimExpr` and `PrimExprWithOp` (for future use) here in `tir/__init__.pyi` instead of `script/tir/__init__.pyi`. Therefore stubs from `script/tir` will need to import `PrimExpr` and `IterVar` etc from `tir`. I am curious about your take on this.




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