Skip to main content

arg_min_max

Function arg_min_max 

Source
pub fn arg_min_max<T: Element>(
    x: &[T],
    shape: &[usize],
    axis: usize,
    max: bool,
) -> Vec<u64>
Expand description

The index of the largest (max) or smallest element along axis. NaN counts as the extreme, and ties take the first index, as in JAX.