pub fn execute_graph(
backend: &CpuBackend,
graph: &GraphProto,
inputs: HashMap<String, CpuTensor>,
) -> Result<HashMap<String, CpuTensor>, BackendError>Expand description
Run every NodeProto in graph.node in order, threading a
HashMap<String, CpuTensor> value env. Returns the subset of
env named in graph.output.
Pure over the (graph, inputs) pair — no engine context
required. Each node’s node.attribute is the kernel’s
attribute source; the dispatch path is identical to the
BackendRuntime::dispatch_atomic per-op path except that
attributes come from the NodeProto directly instead of through
RuntimeResourceRef::current_node_attributes.