safrooze commented on a change in pull request #13390: Onnx multi output
URL: https://github.com/apache/incubator-mxnet/pull/13390#discussion_r236115131
 
 

 ##########
 File path: python/mxnet/contrib/onnx/mx2onnx/export_onnx.py
 ##########
 @@ -242,6 +242,14 @@ def create_onnx_graph_proto(self, sym, params, in_shape, 
in_type, verbose=False)
         onnx_processed_outputs = []
         index_lookup = []
 
+        graph_output_names = list()
+        for output_name in sym.list_outputs():
+            if output_name.endswith('_output'):
+                graph_output_names.append(output_name[:-len('_output')])
+            else:
 
 Review comment:
   Done by refactoring how shape is calculated.

----------------------------------------------------------------
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