- Add short form
$ sed4onnx -h
usage:
sed4onnx [-h]
-cs CONSTANT_STRING
[-d {float32,float64,uint8,int8,int32,int64}]
[-m {encode,decode}]
optional arguments:
-h, --help
show this help message and exit.
-cs CONSTANT_STRING, --constant_string CONSTANT_STRING
Strings to be encoded and decoded for ONNX constants.
-d {float32,float64,uint8,int8,int32,int64}, --dtype {float32,float64,uint8,int8,int32,int64}
Data type.
-m {encode,decode}, --mode {encode,decode}
encode: Converts the string specified in constant_string to a Base64 format string
that can be embedded in ONNX constants.
decode: Converts a Base64 string specified in constant_string to ASCII like Numpy string.