navya-encharge commented on code in PR #16171:
URL: https://github.com/apache/tvm/pull/16171#discussion_r1409977427
##########
python/tvm/relay/frontend/pytorch.py:
##########
@@ -4771,33 +4779,77 @@ def _get_constant(node):
return None
-def _rename_outputs(node, source_map, op_type_dict, use_parser_friendly_name):
- """Rewrite debug name of node outputs with its operator type"""
+class NodeNamer(ABC):
+ def __init__(self, op_counter_dict):
+ self.op_counter_dict = op_counter_dict
- def _get_source_name(op_type):
+ def increment_counter(self, identifier):
Review Comment:
Resolved in upcoming commit!
--
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]