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:
Returns:

A boolean 0-dim array.

True if equivalent, otherwise False.

Return type:

cupy.ndarray