- iarray.max(a: IArray, /, *, axis: Optional[Union[int, tuple]] = None, keepdims: bool = False, oneshot: bool = False, cfg: Optional[Config] = None, **kwargs)#
Return the maximum of an array or maximum along an axis.
axis¶ (None, int, tuple of ints, optional) – Axis or axes along which the reduction is performed. The default (axis = None) is perform the reduction over all dimensions of the input array. If this is a tuple of ints, a reduction is performed on multiple axes, instead of a single axis or all the axes as default.
keepdims¶ (bool) – Whether to keep the reduced axes in the result or not. The only supported value for this param is False (the default).
oneshot¶ (bool) – Enforce the use of the oneshot algorithm. Oneshot normally uses less memory, albeit is slower in general. Default is False.
max – Maximum of a. The result is an array of dimension a.ndim - len(axis). The dtype is always the dtype of
- Return type