mirror of
https://github.com/pytorch/pytorch.git
synced 2026-11-20 09:04:25 +08:00
cdab1d676c
Summary: Makes the `nnqr.Linear` module respect the qmin/qmax attributes of weight observer. This is to unblock some customer teams who are depending on non-default values of these attributes. Test plan: ``` python test/test_quantization.py -k TestReferenceQuantizedModule.test_linear_decomposed ``` Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/96232 Approved by: https://github.com/andrewor14