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

 ##########
 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:
   line 232, where we determine the output_shape, will need to be replaced with 
shapes of the multiple outputs.

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