[RELAND] Port to quantized and other operators to new registration API (#36799)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36799
This is a roll up of a bunch of small PRs for ease of landing.
- Update reference to RegisterOperators in error message in Convolution.
- Add explicit schema for quantized conv/conv_prepack (fixes #36511)
- Add a centralized TORCH_LIBRARY declaration for quantized and xnnpack ops (fixes #36510)
- Port to new registration API:
- Resize
- detach/detach_
- All quantization operators
- Update quantized README for registering operators with new API
Test Plan: Imported from OSS
Differential Revision: D21089649
Pulled By: ezyang
fbshipit-source-id: 3dd205c2c075f6a3d67aadb2b96af25512e7acd0