chainerx.equal

chainerx.equal(x1, x2)

Returns an array of (x1 == x2) element-wise.

Parameters
Returns

Output array of type bool.

Return type

ndarray

Note

During backpropagation, this function does not propagate gradients.

See also

numpy.equal