pytorch
9df60513 - [bc-breaking] reference option for linear produce a pattern instead of reference linear module (#61892)

Commit
3 years ago
[bc-breaking] reference option for linear produce a pattern instead of reference linear module (#61892) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61892 This PR changes is_reference=True for linear to produce a pattern consists of dequant - float linear - quant instead of reference linear module, this is useful for future transformations to custom backends, it is also helpful to simplify the implementation for convert in the future. Test Plan: python test/test_quantization.py TestQuantizeFxOps Imported from OSS Reviewed By: vkuzo Differential Revision: D29810657 fbshipit-source-id: 949615bbc017bc454d81c8a6b2bdec53badaab19
Author
Parents
Loading