[quant][refactor] Change the structure of the ao migration tests (#64912)
authorZafar Takhirov <zaf@fb.com>
Wed, 15 Sep 2021 20:11:58 +0000 (13:11 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 15 Sep 2021 20:15:43 +0000 (13:15 -0700)
commit425f173f9d8cb41988ff03fff316ff8424bcd521
treeb9718d2f3333482c23b0f6589ee2c0d29a76ad0f
parent2967a48b7821bc351fa6096a0166c8537e44dbd2
[quant][refactor] Change the structure of the ao migration tests (#64912)

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

The test naming was confusing and ambiguous. The file was changed to reflect the framework that is being migrated ("quantization" instead of "quantize"). Also, the common testing class was extracted out
ghstack-source-id: 138157450

Test Plan: `buck test mode/dev //caffe2/test:quantization -- TestAOMigrationQuantization`

Reviewed By: vkuzo

Differential Revision: D30898214

fbshipit-source-id: 017f95995271d35bcdf6ff6a1b3974b837543e84
test/quantization/ao_migration/common.py [new file with mode: 0644]
test/quantization/ao_migration/test_quantization.py [moved from test/quantization/ao_migration/test_quantize.py with 62% similarity]
test/test_quantization.py