nanmax(a, axis=None, out=None, keepdims=False)¶
Returns the maximum of an array along an axis ignoring NaN.
When there is a slice whose elements are all NaN, a
RuntimeWarningis raised and NaN is returned.
The maximum of
a, along the axis if specified.
This function may synchronize the device.