Skip to main content

set_batch_loop_norm

Function set_batch_loop_norm 

Source
pub fn set_batch_loop_norm(v: Option<(Vec<usize>, Vec<f32>)>)
Expand description

A Looped Transformer’s next batch-graph calls on this thread: the span-relative layers after which the final norm goes on the stream (loop_norm_at of the token graph), and that norm; None clears it. A backend that cannot apply them declines the call.