Skip to main content

softmax_rows

Function softmax_rows 

Source
pub fn softmax_rows(x: &mut [f32], rows: usize, cols: usize)
Expand description

In-place row-wise softmax in f32, max-subtracted for stability.