tf.keras.ops.bitwise_xor

Compute the bit-wise XOR of two arrays element-wise.

Computes the bit-wise XOR of the underlying binary representation of the integers in the input arrays. This ufunc implements the C/Python operator ^.

x Input integer tensor.
y Input integer tensor.

Result tensor.