- cupy.amin(a, axis=None, out=None, keepdims=False)[source]#
Returns the minimum of an array or the minimum along an axis.
When at least one element is NaN, the corresponding min value will be NaN.
a (cupy.ndarray) – Array to take the minimum.
axis (int) – Along which axis to take the minimum. The flattened array is used by default.
out (cupy.ndarray) – Output array.
keepdims (bool) – If
True, the axis is remained as an axis of size one.
The minimum of
a, along the axis if specified.
- Return type
When cuTENSOR accelerator is used, the output value might be collapsed for reduction axes that have one or more NaN elements.