onnxruntime/include/onnxruntime/core/session
Gary Miguel 7aa4af238a
Add strict_shape_type_inference config option (#11081)
Prior to this, certain shape and type errors were surfaced only when
the model was using the latest known op set version.

Providing users an explicit option allows for better testing of code
that produces models, which includes unit tests within this repo and
other repos such as the TF-ONNX and PT-ONNX converters.

Remove the previous behavior which seems quite counter-intuitive:
an otherwise identical model with a later op set version should be treated
identically in this regard.

The option defaults to false to avoid causing errors for users that
rely on the previous permissive behavior.

Turned on the strict enforcement by default in OpTester, which revealed a few
disagreements between ORT and ONNX on what the correct output shape should
be.

Fix shape inference bug in ReduceSumTraining with noop_with_empty_axes=1
which was revealed.

Fix TensorOpTest.Unsqueeze_scalar, which was testing negative axes on an
op set version where the op did not actually support negative axes.

Fixes #9506.
2022-04-21 08:32:40 -07:00
..
environment.h Call pluggable EP's shutdown function in Environment::~Environment() (#11120) 2022-04-07 14:11:29 -07:00
experimental_onnxruntime_cxx_api.h
experimental_onnxruntime_cxx_inline.h
onnxruntime_c_api.h Provide an API to supply external initializers data from user buffers (#11109) 2022-04-07 12:21:53 -07:00
onnxruntime_cxx_api.h add AppendExecutionProvider_CUDA_V2 to the C++ api (#11153) 2022-04-14 17:33:27 -07:00
onnxruntime_cxx_inline.h add AppendExecutionProvider_CUDA_V2 to the C++ api (#11153) 2022-04-14 17:33:27 -07:00
onnxruntime_run_options_config_keys.h Add ability for memory arenas to "shrink" periodically (#7284) 2021-05-08 07:53:21 -07:00
onnxruntime_session_options_config_keys.h Add strict_shape_type_inference config option (#11081) 2022-04-21 08:32:40 -07:00
snippets.dox [C API Docs] Add docs for run options tag/log level accessors/modifiers. (#9045) 2021-09-14 08:53:35 -07:00