huajsj commented on a change in pull request #4703: [VTA] Support network which
have no unique operator as start/stop name for graph pack.
URL: https://github.com/apache/incubator-tvm/pull/4703#discussion_r367768015
##########
File path: vta/python/vta/top/graphpack.py
##########
@@ -246,32 +246,38 @@ def visit_call(self, call):
class BT(Exception):
pass
-def get_subgraph(expr, start_name, stop_name):
+def get_subgraph(expr, start_name, stop_name, start_name_idx=-1,
stop_name_idx=-1):
Review comment:
I feel we may need to set both value is -1 to make the logic be consistent,
would keep this no change.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services