nswamy closed pull request #13251: Fix Sphinx error in ONNX file
URL: https://github.com/apache/incubator-mxnet/pull/13251
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/python/mxnet/contrib/onnx/onnx2mx/import_model.py 
b/python/mxnet/contrib/onnx/onnx2mx/import_model.py
index bf3601a6953..0f1a7c47010 100644
--- a/python/mxnet/contrib/onnx/onnx2mx/import_model.py
+++ b/python/mxnet/contrib/onnx/onnx2mx/import_model.py
@@ -67,15 +67,13 @@ def get_model_metadata(model_file):
     -------
     model_metadata : dict
         A dictionary object mapping various metadata to its corresponding 
value.
-        The dictionary will have the following template.
-        {
-            'input_tensor_data' : <list of tuples representing the shape of 
the input paramters>,
-            'output_tensor_data' : <list of tuples representing the shape of 
the output
-                                    of the model>
-        }
+        The dictionary will have the following template::
 
+          'input_tensor_data' : list of tuples representing the shape of the 
input paramters
+          'output_tensor_data' : list of tuples representing the shape of the 
output of the model
     """
     graph = GraphProto()
+
     try:
         import onnx
     except ImportError:


 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to