Skip to main content

softmax

Function softmax 

Source
pub fn softmax(fp: FpUnit, scores: &[f32]) -> Vec<f32>
Expand description

The softmax: the maximum (fmax), each exp(s − max), their sum in lanes (fsum), one reciprocal, the products.