def mxnet.contrib.onnx._export.export_model( sym, params, input_shape,
output):
    """
    Exports a given MXNet symbol object file or path to saved file to ONNX
model file.
    Input Parameters -
    ----------
    sym -
        A str object (path to json file) or mxnet symbol object or
checkpointed mxnet symbol object
    params -
        A str object (path to params file) or dict object containing the
model params
    input_shape -
        list of tuple object , specifies the shape of each input to the
model
    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.
    """
    ...
    return onnx_model_path

Reply via email to