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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]