Skip to main content

Module proto

Module proto 

Source
Expand description

Prost-generated proto bindings.

Re-exports the modules produced by bb-ir/build.rs from the canonical proto sources at the workspace root:

  • proto/onnx-ml.proto - vendored canonical ONNX schema (Apache-2.0).
  • proto/bb_core.proto - the framework’s core schema covering the wire envelope, slot-fill batching, peer identity, and snapshots.

Modules§

bb_core
Framework core schema. Covers the wire envelope (WireEnvelope, OpsetId, WireCorrelation, CorrelationKind), data-plane batching (SlotFillBatch, SlotFill), peer identity (PeerProto), and snapshots (NodeSnapshotProto, ComponentSnapshotProto). Matches package bb.core;.
onnx
Vendored canonical ONNX schema (Apache-2.0). Source of ModelProto, GraphProto, NodeProto, ValueInfoProto, TensorProto, AttributeProto, etc. Matches package onnx;.

Functions§

function_to_graph_view
Build a GraphProto view from a FunctionProto’s body - most compiler passes operate on a GraphProto per docs/COMPILER.md, and the engine’s backend-subgraph dispatcher needs the same view