linear_f32

Function linear_f32 

Source
pub fn linear_f32(
    x: &[f32],
    w: &[f32],
    rows: usize,
    in_dim: usize,
    out_dim: usize,
) -> Vec<f32>
Expand description

f32 F.linear (the ratio-2 compressor’s wkv / wgate are fp32 weights on an fp32 input).