Skip to main content

kda_forward

Function kda_forward 

Source
pub fn kda_forward(
    x: &[f32],
    w: &KdaWeights,
    cfg: &KdaCfg,
    state: &mut Vec<f32>,
    pool: Option<&Pool>,
) -> Vec<f32>
Expand description

Forward one position through a KDA layer, advancing state.