Skip to main content

conv

Function conv 

Source
pub fn conv(
    fp: FpUnit,
    ring: &[Vec<f32>],
    x: &[f32],
    kernel: &[f32],
    taps: usize,
) -> Vec<f32>
Expand description

A Gated-DeltaNet block’s causal convolution through SiLU, channel by channel: the ring’s rows, oldest first, against the channel’s first taps, then the token’s row x against its last, the products summed in tap order from +0. kernel holds each channel’s taps weights together.