cjolivier01 commented on a change in pull request #10472: [MXNET-106] 
[ONNX_MXNet] Change parameter names in imported model
URL: https://github.com/apache/incubator-mxnet/pull/10472#discussion_r180508659
 
 

 ##########
 File path: tests/python-pytest/onnx/backend_rep.py
 ##########
 @@ -64,9 +64,16 @@ def run(self, inputs, **kwargs):
         else:
             raise NotImplementedError("Only CPU context is supported for now")
 
-        mod = mx.mod.Module(symbol=self.symbol, data_names=['input_0'], 
context=ctx,
+        data_names = [graph_input for graph_input in self.symbol.list_inputs()
+                      if graph_input not in self.arg_params and graph_input 
not in self.aux_params]
 
 Review comment:
   Or a good comment

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to