onnxruntime
6f07ceea - Fix FLOAT16 tensor attribute serialization in OrtGraphToProto (#33921)

Commit
2 days ago
Fix FLOAT16 tensor attribute serialization in OrtGraphToProto (#33921) ### Description - Add the missing `FLOAT16` case to tensor attribute serialization in `OrtGraphToProto`. - Add a `ConstantOfShape` regression test covering `raw_data` and `int32_data`, verifying the serialized payload and inference with optimizations disabled. - All 19 EP graph tests pass. ### Motivation and Context Valid FP16 tensor attributes were rejected with `Unexpected ONNXTensorElementDataType with value 10`. Fixes #33919.
Author
Parents
Loading