cupy.array_equiv#
- cupy.array_equiv(a1, a2)[source]#
Returns
True
if all elements are equal or shape consistent, i.e., one input array can be broadcasted to create the same shape as the other.- Parameters:
a1 (cupy.ndarray) – Input array.
a2 (cupy.ndarray) – Input array.
- Returns:
- A boolean 0-dim array.
True
if equivalent, otherwiseFalse
.
- Return type:
See also