Revert D30055886: [quant] AO migration of the `quantize.py`
Test Plan: revert-hammer
Differential Revision:
D30055886 (https://github.com/pytorch/pytorch/commit/44e3ed88c9a1bd9ee6b0168ba5271a2c6b006cc8)
Original commit changeset: 8ef7470f9fa6
fbshipit-source-id: c5bd3ead43a2d44b9e56872ec5bd7a195bdac725