Update export-onnx.py

updated `export-onnx.py` to apply the same change as in [#1152](https://github.com/k2-fsa/icefall/pull/1152)
This commit is contained in:
jinzr 2023-07-04 14:01:28 +08:00
parent 95ec9efcbd
commit 628c608d5c

View File

@ -602,7 +602,7 @@ def main():
quantize_dynamic( quantize_dynamic(
model_input=decoder_filename, model_input=decoder_filename,
model_output=decoder_filename_int8, model_output=decoder_filename_int8,
op_types_to_quantize=["MatMul"], op_types_to_quantize=["MatMul", "Gather"],
weight_type=QuantType.QInt8, weight_type=QuantType.QInt8,
) )