You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "junrushao (via GitHub)" <gi...@apache.org> on 2023/02/12 22:27:53 UTC

[GitHub] [tvm] junrushao opened a new pull request, #13970: [TVMScript] Simplify TIR Var Definition

junrushao opened a new pull request, #13970:
URL: https://github.com/apache/tvm/pull/13970

   This PR introduces a small tweak to TVMScript printer that simplifies
   variable definition in TIR.
   
   Origionally, defining a TIR var uses `T.var(dtype)`, e.g.
   
   ```python
   a = T.var("int32")
   ```
   
   This PR encourages to shorten the definition to:
   
   ```python
   a = T.int32()
   ```
   
   There is no breaking change in this PR, which means the legacy behavior
   still works without any problem.


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


[GitHub] [tvm] tvm-bot commented on pull request #13970: [TVMScript] Simplify TIR Var Definition

Posted by "tvm-bot (via GitHub)" <gi...@apache.org>.
tvm-bot commented on PR #13970:
URL: https://github.com/apache/tvm/pull/13970#issuecomment-1427149007

   <!---bot-comment-->
   
   Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @-ing them in a comment.
   
   
   
   <sub>Generated by [tvm-bot](https://github.com/apache/tvm/blob/main/ci/README.md#github-actions)</sub>


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


[GitHub] [tvm] junrushao merged pull request #13970: [TVMScript] Simplify TIR Var Definition

Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao merged PR #13970:
URL: https://github.com/apache/tvm/pull/13970


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