Make test_quantize runnable (#37357)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/37357
Test Plan: Imported from OSS
Differential Revision: D21262896
Pulled By: jamesr66a
fbshipit-source-id: b39d5f751678a6f2f8c40b65fd2cdb96c58f7eaf