pub fn log_softmax( x: impl AsRef<Array>, axis: impl Into<Option<i32>>, ) -> Result<Array>
Applies the Log Softmax function.
This is:
x - logsumexp_axis(x, axis, true)