@tf_export('math.logical_xor', v1=['math.logical_xor', 'logical_xor'])
@dispatch.add_dispatch_support
@deprecation.deprecated_endpoints('logical_xor')
def logical_xor(x, y, name='LogicalXor'):
    'x ^ y = (x | y) & ~(x & y).'
    return gen_math_ops.logical_and(gen_math_ops.logical_or(x, y), gen_math_ops.logical_not(gen_math_ops.logical_and(x, y)), name=name)
x ^ y = (x | y) & ~(x & y).
@tf_export('math.logical_xor', v1=['math.logical_xor', 'logical_xor'])
@dispatch.add_dispatch_support
@deprecation.deprecated_endpoints('logical_xor')
def logical_xor(x, y, name='LogicalXor'):
    
    return gen_math_ops.logical_and(gen_math_ops.logical_or(x, y), gen_math_ops.logical_not(gen_math_ops.logical_and(x, y)), name=name)