def convert_onnx_to_model(onnx_input_path):
model = onnx.load(onnx_input_path)<EOL>tf_rep = prepare(model)<EOL>img = np.load("<STR_LIT>")<EOL>output = tf_rep.run(img.reshape([<NUM_LIT:1>, <NUM_LIT>]))<EOL>print("<STR_LIT>", np.argmax(output))<EOL>
Reimplementation of the TensorFlow-onnx official tutorial convert the onnx file to specific: model

    Parameters
    -----------
    onnx_input_path : string
    the path where you save the onnx file.

    References
    -----------
    - `onnx-tf exporting tutorial <https://github.com/onnx/tutorials/blob/master/tutorials/OnnxTensorflowExport.ipynb>`__