Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Import ONNX models into MXNet symbolic interface.
  2. Import ONNX model into MXNet Gluon interface.
  3. Export MXNet symbolic model to an ONNX model file. (TODO)
  4. Export MXNet Gluon model into an ONNX model file.(TODO)

...

“output_tensor_shape”: <list of tuples representing the shape of the output of the model>

}

 

  • [Proposed API] Export MXNet symbolic model to an ONNX model file.
     
    Given a MXNet model object/file, export the model to ONNX model file.

                mxnet.contrib.onnx._export .export_model( sym, params, output)

                Exports a given MXNet symbol object file or path to saved file to ONNX model file.

Input Parameters: 

sym        - json object or mxnet symbol object or checkpointed mxnet symbol object

params  - dict object containing the model params

output    - path to the output file, including the filename.  Default: current path , filename: model.onnx

Return Type:

onnx_model_path:  str object , path to saved .onnx file.