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 2020/03/05 14:22:20 UTC

[GitHub] [incubator-tvm] jjohnson-arm commented on a change in pull request #4992: [Frontend][Torch] Check graph inputs match expected

jjohnson-arm commented on a change in pull request #4992: [Frontend][Torch] Check graph inputs match expected
URL: https://github.com/apache/incubator-tvm/pull/4992#discussion_r388323372
 
 

 ##########
 File path: python/tvm/relay/frontend/pytorch.py
 ##########
 @@ -902,6 +902,21 @@ def _report_missing_conversion(op_names):
         msg = "The following operators are not implemented: {}".format(missing)
         raise NotImplementedError(msg)
 
+def _check_input_names(graph, input_shapes):
+    """ Check the graph inputs match the inputs """
+    # remove self at the 0th arg
+    ir_inputs = _get_input_names(graph)[1:]
 
 Review comment:
   Fair enough - though I was just trying to avoid the extra graph.copy().

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services