onnxruntime/include/onnxruntime/core
Dmitri Smirnov 5c54b64a63
Create NodeArgs for all Constant nodes and initializers for functions being inlined (#17089)
### Description
When functions are inlined and constant nodes are being converted to
initializers, we need to create NodeArg for them.
Similar for inlined function subgraph, but we choose to give priority to
non-constant nodes and then fill the gaps with constant and
initializers.

### Motivation and Context
This addresses issue
https://github.com/microsoft/onnxruntime/issues/16813 for
`eca_halonext26ts_mod.onnx` model where it fails to remove unused
initializer because `NodeArg` was not created for it.
2023-08-17 14:22:28 -07:00
..
common Enable -Wshorten-64-to-32 warning if available. (#16524) 2023-07-07 08:11:44 -07:00
eager Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
framework EP context for custom op (#16454) 2023-08-16 13:03:40 -07:00
graph Create NodeArgs for all Constant nodes and initializers for functions being inlined (#17089) 2023-08-17 14:22:28 -07:00
optimizer fix compilation error in no absl build (#15769) 2023-05-02 08:20:49 -07:00
platform Re-implement stacktrace (#17173) 2023-08-16 16:07:49 -07:00
providers EP context for custom op (#16454) 2023-08-16 13:03:40 -07:00
session EP context for custom op (#16454) 2023-08-16 13:03:40 -07:00