Commits


Adrian Lizarraga authored and GitHub committed f237b0b1f85
[QNN EP/Quantization] Add MinimumRealRange extra option to quantization script (#18278) ### Description Adds the extra option `MinimumRealRange` to the quantization script: ```python3 """ MinimumRealRange= float|None : Default is None. If set to a floating-point value, the calculation of the quantization parameters (i.e., scale and zero point) will enforce a minimum range between rmin and rmax. If (rmax - rmin) is less than the specified minimum range, rmax will be set to rmin + QuantMinRealRange. This is necessary for EPs like QNN that require a minimum floating-point range when determining quantization parameters. """ ``` ### Motivation and Context QNN requires a minimum floating-point range of 0.0001. --------- Signed-off-by: adrianlizarraga <adlizarraga@microsoft.com>