Support torch.int32 as a dtype for quantize and dequantize (#289)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/289 The ops like `quantized_decomposed.quantize_per_tensor.default` did not support an int32 quantized type. Add support for these to the portable and aten runtimes. This is important for Turing which uses int32 to represent uint16 (as the latter is not a valid pytorch dtype). Reviewed By: kimishpatel Differential Revision: D49202048 fbshipit-source-id: 0faa89ce1d34b60ece443fb02fa14f02abf2d376
R
Riley Dulin committed
63bb3b52108ad9af2a900eaba440dcb16361ca17
Parent: fbbec00
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 9/13/2023, 6:05:43 PM