junrushao1994 commented on pull request #9559:
URL: https://github.com/apache/tvm/pull/9559#issuecomment-977046104
The error message is improved to:
```
TypeError Traceback (most recent call last)
/tmp/ipykernel_307968/1279557970.py in <module>
5 i = sch.get_loops(block_c)
6 # Tile the loop nesting.
----> 7 i_0, i_1, i_2 = sch.split(i, factors=[None, 4, 4])
8 print(sch.mod.script())
~/Projects/tvm-dev/python/tvm/tir/schedule/_type_checker.py in wrap(*args,
**kwargs)
147 )
148 if error_msg is not None:
--> 149 raise TypeError(error_msg)
150 return func(*args, **kwargs)
151
TypeError: In "Schedule.split", "loop" has wrong type. Expected "LoopRV",
but gets: "list"
```
--
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]