Skip to main content

softmax_rows

Function softmax_rows 

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

Apply softmax to each row of a rows x cols matrix (in-place).