mlx_rs::ops::indexing

Function argmax_all_device

Source
pub fn argmax_all_device(
    a: impl AsRef<Array>,
    keep_dims: impl Into<Option<bool>>,
    stream: impl AsRef<Stream>,
) -> Result<Array>
Expand description

Indices of the maximum value over the entire array.

ยงParams

  • a: The input array.
  • keep_dims: Keep reduced axes as singleton dimensions, defaults to False.