[quant][graphmode][fx] Add fbgemm backend_config_dict (#64288)
authorJerry Zhang <jerryzh@fb.com>
Wed, 1 Sep 2021 22:48:54 +0000 (15:48 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 1 Sep 2021 23:32:43 +0000 (16:32 -0700)
commited89937d2cbda8f4c5b67439b8b7b138cff42552
treebe4536c2ab2e578961297420b24106f22e2cf113
parent69f4401b7b6ea6a51a090ca8c958968a80a529e2
[quant][graphmode][fx] Add fbgemm backend_config_dict (#64288)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64288

This is just to setup the file structure and unblock experimentation.
The format for backend_config_dict will change in the future

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps

Imported from OSS

Reviewed By: zou3519

Differential Revision: D30699457

fbshipit-source-id: 28211a4def05d34757850c045a36e311f54760fe
torch/quantization/fx/backend_config_dict/__init__.py [new file with mode: 0644]
torch/quantization/fx/backend_config_dict/fbgemm.py [new file with mode: 0644]
torch/quantization/fx/prepare.py