tf.math.logical_xor

Aliases:

  • tf.RaggedTensor.__xor__
  • tf.logical_xor
  • tf.math.logical_xor
tf.math.logical_xor(
    x,
    y,
    name='LogicalXor'
)

Defined in tensorflow/python/ops/math_ops.py.

x ^ y = (x | y) & ~(x & y).