onnxruntime/include/onnxruntime/core/graph
Scott McKay 6c7099a18e
Break dependency on SessionState for ExecutionFrame and OpKernelContext so optimizers can execute a node with a minimal setup (#498)
* Break dependency on SessionState for ExecutionFrame and OpKernelContext so optimizers can execute a node with a minimal setup.

- Create IExecutionFrame
  - split out core logic and interface from extended logic used in full Graph execution (that uses allocation plan and memory pattern planner)
- Update NodeIndexInfo to allow contruction from a subset of nodes
  - split out logic from GraphNodes into a re-usable template so it can be used with a vector of const Node* as well as a vector of unique_ptr<Node>
- Remove SessionState from OpKernelContext
- Misc cleanups
  - move AllocPlanPerValue out of SequentialExecutionPlan as it's used in a more generic manner that isn't specific to a sequential execution plan

NOTE: I manually tested the new paths, especially NodeIndexInfo. There will shortly be optimizers added that use the new infrastucture so they'll get test coverage as part of those changes.

* Fix linux build issue.
Handle graph with no nodes in NodeIndexInfo.
2019-02-27 15:46:50 -08:00
..
basic_types.h Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
constants.h trt (#361) 2019-01-23 13:28:13 -08:00
function.h cleanup code (#343) 2019-01-16 17:12:22 -08:00
graph.h Separate out constant node index information from ExecutionFrame (#410) 2019-02-01 10:55:49 +10:00
graph_nodes.h Break dependency on SessionState for ExecutionFrame and OpKernelContext so optimizers can execute a node with a minimal setup (#498) 2019-02-27 15:46:50 -08:00
graph_viewer.h cleanup code (#343) 2019-01-16 17:12:22 -08:00
indexed_sub_graph.h Document the Graph header files and cleanup some issues. (#42) 2018-11-28 08:42:11 -08:00
node_arg.h Abbreviate ONNXRuntime as Ort in all of our public APIs (#175) 2018-12-14 14:54:23 -08:00
onnx_protobuf.h Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
schema_registry.h Use nsync for implementing condition variable 2019-01-21 22:59:42 -08:00