Jerry Zhang
0c58a017bd
[quant][eagermode][refactor] Add set/get method for quantization and fusion mappings ( #43990 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43990
Allow user to register custom quantization and fusion patterns
Test Plan: Imported from OSS
Reviewed By: z-a-f
Differential Revision: D23485344
fbshipit-source-id: 4f0174ee6d8000d83de0f73cb370e9a1941d54aa
2020-09-10 21:29:39 -07:00
Jerry Zhang
43e38d60d6
[quant][graphmode][fx] Support quantize per channel in all cases ( #44042 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44042
Missed one case last time
Test Plan: Imported from OSS
Reviewed By: vkuzo
Differential Revision: D23479345
fbshipit-source-id: 30e6713120c494e9fab5584de4df9b25bec83d32
2020-09-08 15:45:14 -07:00
Jerry Zhang
d15b9d980c
[quant][graphmode][fx][refactor] Move patterns to separate files ( #43891 )
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/43891
Test Plan: Imported from OSS
Reviewed By: vkuzo
Differential Revision: D23429759
fbshipit-source-id: f19add96beb7c8bac323ad78f74588ca1393040c
2020-09-01 16:37:33 -07:00