- Add short form
usage:
onnx2json [-h]
-if INPUT_ONNX_FILE_PATH
-oj OUTPUT_JSON_PATH
[-i JSON_INDENT]
optional arguments:
-h, --help
show this help message and exit
-if INPUT_ONNX_FILE_PATH, --input_onnx_file_path INPUT_ONNX_FILE_PATH
Input ONNX model path. (*.onnx)
-oj OUTPUT_JSON_PATH, --output_json_path OUTPUT_JSON_PATH
Output JSON file path (*.json) If not specified, no JSON file is output.
-i JSON_INDENT, --json_indent JSON_INDENT
Number of indentations in JSON. (default=2)