Skip to main content

gdn_forward

Function gdn_forward 

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

Forward one position through a GatedDeltaNet layer, advancing state.