Skip to main content

oracle_gpu_rmsnorm_f32

Function oracle_gpu_rmsnorm_f32 

pub fn oracle_gpu_rmsnorm_f32(
    input: [f32; 4],
    weight: [f32; 4],
    eps: f32,
) -> Result<[f32; 4], VibeTrap>
Expand description

Reference oracle for (0, 3) rmsnorm_f32: y[i] = x[i] / sqrt(mean(x^2) + eps) * weight[i].