pytorch/torch/quantization
Jerry Zhang a73c6a45b6 [reland][quant][graphmode][fx] Enable fuse handler for sequence of 3 ops (#70006)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70006

reland: fixing some mypy errors that was missed before

This PR enables fuse handler for sequence of three ops, and merges all fuse handlers into one

TODO: we can also move this to backend_config_dict folder

Test Plan:
regression fusion test
```
python test/test_quantization.py TestFuseFx
```

Imported from OSS

Imported from OSS

Reviewed By: supriyar

Differential Revision: D33144606

fbshipit-source-id: ca34f282018a0fb4d04c7e35119eaf2d64258e78
2021-12-16 15:04:16 -08:00
..
fx [reland][quant][graphmode][fx] Enable fuse handler for sequence of 3 ops (#70006) 2021-12-16 15:04:16 -08:00
__init__.py
_numeric_suite.py
_numeric_suite_fx.py
fake_quantize.py
fuse_modules.py
fuser_method_mappings.py
observer.py
qconfig.py
quant_type.py
quantization_mappings.py
quantize.py
quantize_fx.py
quantize_jit.py
stubs.py
utils.py