softmax

fun softmax(a: Tensor<*, *>, dim: Int = -1): Tensor<*, *>(source)

Softmax along the given dimension.