microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.81k stars 2.94k forks source link

[Quant Tool] Add reduce_range option to get_qdq_config() #22782

Closed adrianlizarraga closed 2 weeks ago

adrianlizarraga commented 2 weeks ago

Description

Adds reduce_range option to get_qdq_config()

Motivation and Context

Make it easier to set this option when calling get_qdq_config(). Otherwise, user has to set the option manually.