junrushao commented on issue #13360:
URL: https://github.com/apache/tvm/issues/13360#issuecomment-1315853244
Hey @guberti, this issue should be fixed in the latest HEAD. Testing script:
```python
from tvm.script import tir as T
@T.prim_func
def func_1(
A: T.Buffer[(16,), "float32"],
C: T.Buffer[(1,), "float32"],
):
...
func_1.show()
```
Output in python 3.8:
```python
# from tvm.script import tir as T
@T.prim_func
def func(A: T.Buffer[16, "float32"], C: T.Buffer[1, "float32"]):
# body
T.evaluate(0)
```
--
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]