-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quant primitives: always set min val for scale (#201)
Summary: This is to avoid div by 0 in quantize Test Plan: python test/quantization/test_quant_primitives.py -k test_choose_qparams_tensor_asym_eps Reviewers: Subscribers: Tasks: Tags:
- Loading branch information
1 parent
eb03753
commit ec9d9d8
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters