torch.ao migration: quantize_jit.py phase1 (#64860)
authorSupriya Rao <supriyar@fb.com>
Mon, 13 Sep 2021 15:38:41 +0000 (08:38 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 13 Sep 2021 15:41:48 +0000 (08:41 -0700)
commit3d976d9ceb92120318f0f996376bf26d7004f9e1
tree7cc885703bb59464c17c8b405183b871b2cc41e0
parent9d52651d4eba528fa58af9251c5909de45efaa3e
torch.ao migration: quantize_jit.py phase1 (#64860)

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

ghstack-source-id: 137885395

Test Plan: buck test mode/dev //caffe2/test:quantization

Reviewed By: jerryzh168

Differential Revision: D30880574

fbshipit-source-id: 9629027dd3b00bb8d45633e1564fc03a866f8c31
test/quantization/ao_migration/test_quantize.py
torch/ao/quantization/quantize_jit.py [new file with mode: 0644]
torch/quantization/quantize_jit.py