lance_linalg::kernels

Function argmax

Source
pub fn argmax<T: Num + Bounded + PartialOrd>(
    iter: impl Iterator<Item = T>,
) -> Option<u32>
Expand description

Argmax on a PrimitiveArray.

Returns the index of the max value in the array.