update internal function names that apply to both cpu and cuda (#59701)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59701
These functions have been updated to work for cpu and cuda, their names are now changed to reflect that
quantize_per_channel_cpu -> quantize_per_channel
dequantize_quantized_cpu -> dequantize_quantized
(Note: this ignores all push blocking failures!)
Test Plan:
python test/test_quantization.py TestQuantizedTensor
Imported from OSS
Reviewed By: raghuramank100
Differential Revision: D29018270
fbshipit-source-id: 3a0da8d5e3f357dcf19119bcdbc6172d41f2b0c1