tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] jjohnson-arm commented on a change in pull request #4992: [Frontend][Torch] Check graph inputs match expected
Date Thu, 05 Mar 2020 14:22:20 GMT
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

Mime
View raw message