chunit-quic commented on code in PR #14574:
URL: https://github.com/apache/tvm/pull/14574#discussion_r1195919167
##########
python/tvm/ir/base.py:
##########
@@ -69,6 +69,20 @@ def __init__(self, source_name, line, end_line, column,
end_column):
)
+@register_object("SequentialSpan")
+class SequentialSpan(Object):
+ """Specifies a location in a source program.
Review Comment:
No problem, will update the description.
About being exposed to Python side, it would be quite helpful in the
following situations:
1. Writing relay passes tests cases in ${tvm}/tests/python/relay/test_pass*.
2. User can set a span to their custom python passes for their own
many-to-one expression transformations.
--
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]