Deprecate torch.jit.quantized (#72690)
Summary:
Ref https://github.com/pytorch/pytorch/issues/72263 for cpp_custom_type_hack removal
This module depends on the deprecated `at::cpp_custom_type_hack` in
such a way that updating it would require a full deprecation cycle and
BC break. However, this entire module seems to be legacy. I can't find
it in any of the documentation and the `quantize_***_modules`
functions have already been deprecated for 2 years according to the
git-blame.
So, it makes more sense to deprecate the whole module and clean it up
along with `cpp_custom_type_hack`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72690
Reviewed By: soulitzer
Differential Revision: D34173984
Pulled By: albanD
fbshipit-source-id: dda4a0879dbb1843511230d2ae046329a00a6f04
(cherry picked from commit cbb534b81bf32451178ce7e0602ecf18d914b70b)