Skip to main content

parse_scan_layout

Function parse_scan_layout 

Source
pub fn parse_scan_layout(
    graph: &Graph,
    scan_id: NodeId,
) -> Result<ScanLayout, Error>
Expand description

Parse an Op::Scan node’s trailing-input layout. Mirrors the parse in unroll_scan, including the early_exit-aware trailing count, but yields a struct the step driver can drive one step at a time. Returns a typed Err for a non-Op::Scan node or a malformed (too-short) input layout.