Payload-Backed IR Evaluation #
linear and conv nodes read weights from the external IR payload. These lemmas state the
local contract at that boundary: when the expected payload is present and the shape preconditions
are met, the IR evaluator returns the corresponding spec-layer operation.
Looking up the defining index of a singleton table returns its stored value.
A payload containing one flat constant at id.
Instances For
A payload containing one linear layer at id.
Instances For
A payload containing one convolution layer at id.
Instances For
A payload containing one eval-mode BatchNorm layer at id.
Instances For
A graph containing a zero-parent const node.
Instances For
Local IR semantics for a payload-backed flat const node.
Local IR semantics for a payload-backed flat const node.
Missing constant payloads are rejected before unflattening.
Local IR semantics for a payload-backed linear node.
Local IR semantics for a payload-backed linear node.
Missing linear payloads are rejected before the affine operation is evaluated.
The IR configuration carried by a convolution payload with no leading batch axes.
Instances For
Local IR semantics for a payload-backed arbitrary-rank convolution.
The shape-inference equation is exposed because it is exactly the dynamic check performed at the
IR boundary. Once that check succeeds, evaluation is the typed Spec.groupedConvSpec operation.
Missing convolution payloads are rejected before convolution is evaluated.