Skip to main content

softmax

Function softmax 

Source
pub fn softmax(
    arr: &ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>,
) -> ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>
Expand description

Softmax function for probability distribution