Function softmax

Source
pub fn softmax(x: &f64, total: &Array1<f64>) -> f64