Function softmax

Source
pub fn softmax<D: Dim>(x: &Tensor, d: D) -> Tensor