pytorch
5070f5d1 - [quant] Implement APoT fake quantization (#79845)

Commit
2 years ago
[quant] Implement APoT fake quantization (#79845) ### Summary: This PR implements APoT fake quantization for the purpose of quantization aware training. This implements `calculate_qparams` and `forward `methods to be used in fake quantization. ### Test Plan: Run unit tests with: `python pytorch/test/quantization/core/experimental/test_fake_quantize.py` Pull Request resolved: https://github.com/pytorch/pytorch/pull/79845 Approved by: https://github.com/dzdang
Author
Committer
Parents
Loading