chainerx.logical_xor

chainerx.logical_xor(x1, x2)

Returns an array of x1 XOR x2 element-wise.

Parameters
Returns

Output array of type bool.

Return type

ndarray

Note

During backpropagation, this function does not propagate gradients.