mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-19 19:00:47 +00:00
### Description Bug fix for the SetOutputShape method in custom op shape inference. ### Motivation and Context - Bug a : A obvious bug that will cause all dimensions to be 1. https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/session/onnxruntime_cxx_inline.h#L2014 integer_dims.push_back(dim.IsInt()); -> integer_dims.push_back(dim.AsInt()); - Bug b : vector out of range error op's input maybe a scalar and shape is empty. https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/session/onnxruntime_cxx_inline.h#L1985 --------- Co-authored-by: mingyue <mingyue@amd.com> |
||
|---|---|---|
| .. | ||
| environment.h | ||
| experimental_onnxruntime_cxx_api.h | ||
| experimental_onnxruntime_cxx_inline.h | ||
| onnxruntime_c_api.h | ||
| onnxruntime_cxx_api.h | ||
| onnxruntime_cxx_inline.h | ||
| onnxruntime_float16.h | ||
| onnxruntime_lite_custom_op.h | ||
| onnxruntime_run_options_config_keys.h | ||
| onnxruntime_session_options_config_keys.h | ||
| snippets.dox | ||