Skip to content

Commit

Permalink
Merge pull request #703 from marcoschepis/patch-1
Browse files Browse the repository at this point in the history
Updated README.md
  • Loading branch information
PINTO0309 authored Oct 8, 2024
2 parents fee55a1 + 38240f8 commit cee1924
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1514,7 +1514,8 @@ usage: onnx2tf
[-oiqt]
[-qt {per-channel,per-tensor}]
[-cind INPUT_NAME NUMPY_FILE_PATH MEAN STD]
[-ioqd {int8,uint8}]
[-iqd {int8,uint8}]
[-oqd {int8,uint8}]
[-nuo]
[-nuonag]
[-b BATCH_SIZE]
Expand Down Expand Up @@ -1671,8 +1672,12 @@ optional arguments:
and {input_op_name}, {numpy_file_path}, {mean}, and {std} must all be entered.
Otherwise, an error will occur during the -oiqt stage.
-ioqd {int8,uint8}, --input_output_quant_dtype {int8,uint8}
Input and Output dtypes when doing Full INT8 Quantization.
-iqd {int8,uint8}, --input_quant_dtype {int8,uint8}
Input dtypes when doing Full INT8 Quantization.
"int8"(default) or "uint8"
-oqd {int8,uint8}, --output_quant_dtype {int8,uint8}
Output dtypes when doing Full INT8 Quantization.
"int8"(default) or "uint8"
-nuo, --not_use_onnxsim
Expand Down Expand Up @@ -1993,7 +1998,8 @@ convert(
output_integer_quantized_tflite: Optional[bool] = False,
quant_type: Optional[str] = 'per-channel',
custom_input_op_name_np_data_path: Optional[List] = None,
input_output_quant_dtype: Optional[str] = 'int8',
input_quant_dtype: Optional[str] = 'int8',
output_quant_dtype: Optional[str] = 'int8',
not_use_onnxsim: Optional[bool] = False,
not_use_opname_auto_generate: Optional[bool] = False,
batch_size: Union[int, NoneType] = None,
Expand Down Expand Up @@ -2157,8 +2163,12 @@ convert(
and {input_op_name}, {numpy_file_path}, {mean}, and {std} must all be entered.
Otherwise, an error will occur during the -oiqt stage.

input_output_quant_dtype: Optional[str]
Input and Output dtypes when doing Full INT8 Quantization.
input_quant_dtype: Optional[str]
Input dtypes when doing Full INT8 Quantization.
"int8"(default) or "uint8"

output_quant_dtype: Optional[str]
Output dtypes when doing Full INT8 Quantization.
"int8"(default) or "uint8"

not_use_onnxsim: Optional[bool]
Expand Down

0 comments on commit cee1924

Please sign in to comment.