junrushao opened a new pull request, #14227:
URL: https://github.com/apache/tvm/pull/14227
Previously the printer does not respect the difference between tir.Var and
tir.SizeVar, which means SizeVar info will be lost during roundtripping, which
is not ideal when dealing with dynamic shape workloads, where SizeVar provides
additional bound information to the arithmetic analyzer.
This PR extends Var printing to support SizeVar:
```python
>>> a = tir.SizeVar("a", "int32")
>>> print(a.script(verbose_expr=True))
a = T.int32(size_var=True)
a
```
--
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]