You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/12/15 14:34:34 UTC

[GitHub] [tvm] chunit-quic commented on a change in pull request #9723: [Frontend] Add Span filling for frontends to Relay

chunit-quic commented on a change in pull request #9723:
URL: https://github.com/apache/tvm/pull/9723#discussion_r769682892



##########
File path: python/tvm/relay/frontend/common.py
##########
@@ -954,3 +955,53 @@ def try_resolve_var_to_const(x, graph_params):
         return _op.const(value, dtype)
 
     return x
+
+
+def set_span(sym, node_name):
+    """Set up the sapn for while converting OP"""
+
+    class SpanFiller(ExprMutator):
+        """SpanFiller"""
+
+        def __init__(self, node_name, surfix_str="_PART_"):

Review comment:
       Fixed




-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org