You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently both operations expect Scales and Offsets for inputs/outputs to be the same.
In reality, most common case would be a different quantization parameters for inputs/outputs.
There is a high chance that Max pool for example would increase the lower bound of possible values and hence output needs to have a smaller fp32 dynamic range.
There are several places which needs to be fixed:
Implementation of mentioned above functions on CPU and Interpreter
Quantization procedure which should not enforce same scale/offset for inputs/outputs
Caffe2 loader of quantized operations for pooling ops
Currently both operations expect Scales and Offsets for inputs/outputs to be the same.
In reality, most common case would be a different quantization parameters for inputs/outputs.
There is a high chance that Max pool for example would increase the lower bound of possible values and hence output needs to have a smaller fp32 dynamic range.
There are several places which needs to be fixed:
See: #2016 (comment)
The text was updated successfully, but these errors were encountered: