pub fn argmax_device(
a: impl AsRef<Array>,
axis: i32,
keep_dims: impl Into<Option<bool>>,
stream: impl AsRef<Stream>,
) -> Result<Array>
Expand description
Indices of the maximum values along the axis.
See argmax_all
for the flattened array.
ยงParams
a
: The input array.axis
: Axis to reduce overkeep_dims
: Keep reduced axes as singleton dimensions, defaults to False.