tf.keras.ops.logical_xor

Compute the truth value of x1 XOR x2, element-wise.

x1 First input tensor.
x2 Second input tensor.

Output boolean tensor.