pub fn layer_norm( x: &[f32], w: &[f32], b: &[f32], d: usize, eps: f32, ) -> Vec<f32>
2026-09-25: LayerNorm over the trailing d: subtract the mean, divide by the standard deviation, then w * x + b.
d
w * x + b