onnxruntime
43e2046f - [CPU] Support independent scale and output types in DequantizeLinear (#32728)

Commit
10 days ago
[CPU] Support independent scale and output types in DequantizeLinear (#32728) ### Description Dispatch CPU `DequantizeLinear` on the output tensor type and keep the scale type independent. This covers per-tensor, per-axis, and blocked quantization without converting the scale buffer. ### Motivation and Context Since opset 23, `output_dtype` can differ from the scale type. A float scale with float16 output currently fails with a tensor type mismatch; the reverse combination fails as well. Addresses the CPU DequantizeLinear part of #32719. QuantizeLinear and CUDA support remain separate work. Implemented with Codex assistance. --------- Signed-off-by: TANGBUDU <tangbudu@gmail.com>
Author
Parents
Loading