mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
### Description Remove `Resolve()` on the entire graph as each function is resolved. We retain `Resolve()` after each inlining iteration. ### Motivation and Context Poor performance for inlining the model and session initialization. Original model before Resolve() removal FunctionTest.Profiling (**65953 ms**) After Resolve() Removal FunctionTest.Profiling (**2911 ms**) RelWithDebInfo pre-inlined model. Presumably because it runs Level1 optimizers Non-inlined model consists of functions and Level1 optimizers have no effect. FunctionTest.Profiling (**9851 ms**) |
||
|---|---|---|
| .. | ||
| basic_types.h | ||
| constants.h | ||
| function.h | ||
| graph.h | ||
| graph_nodes.h | ||
| graph_viewer.h | ||
| indexed_sub_graph.h | ||
| node_arg.h | ||
| schema_registry.h | ||