Guard against copying from quantized Tensor to non-quantized Tensor (#29660)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29660
att
Test Plan:
python test/test_quantized_tensor.py
Imported from OSS
Differential Revision: D18799897
fbshipit-source-id: 5d1b4ef84f5ae8eba830784b74485d78fa1e6fcf