Tutorials
Examples
References
Other
Community
chainerx.
any
Test whether any array element along a given axis evaluate to True.
x (ndarray) – Input array.
axis (None or int or tuple of ints) – Axis or axes along which OR reduction is performed. The flattened array is used by default.
keepdims (bool) – If this is set to True, the reduced axes are left in the result as dimensions with size one.
True
Output array of type bool.
ndarray
Note
During backpropagation, this function does not propagate gradients.
See also
numpy.any