Expand description
Build an onnx_runtime_ir::Graph from a decoded ModelProto (§19.1).
Responsible for the graph-construction invariants of docs/ORT2.md §3.5:
stable value ids, unique node outputs (SSA), source values for inputs and
initializers, and interning symbolic dims that share a protobuf name.
Structs§
- Built
Graph - The result of building a graph: the IR graph plus the mapping from ONNX tensor names to the value ids they were assigned (needed by the weight loader).
Functions§
- build_
graph - Build the IR graph (nodes, values, symbols, opsets) from a
ModelProto.