diff --git a/onnxruntime/python/tools/quantization/quantize.py b/onnxruntime/python/tools/quantization/quantize.py index 8fa94e7c130ea..dd5a5e0a92908 100644 --- a/onnxruntime/python/tools/quantization/quantize.py +++ b/onnxruntime/python/tools/quantization/quantize.py @@ -659,8 +659,8 @@ def quantize( """Quantize a model with QuantConfig. Args: - model_input (Path): Path to the model or ModelProto to quantize. - model_output (Path): Path to save the quantized model. + model_input (str | Path | ModelProto): Path to the model or ModelProto to quantize. + model_output (str | Path): Path to save the quantized model. quant_config (QuantConfig): Quantization Configuration. """