mlx_rs::ops

Function softmax

Source
pub fn softmax(
    a: impl AsRef<Array>,
    axes: &[i32],
    precise: impl Into<Option<bool>>,
) -> Result<Array>
Expand description

Perform the softmax along the given axis.

See the python API docs for more information.