oneflow.Tensor.bitwise_xor

Tensor.bitwise_xor()

See oneflow.bitwise_xor()

For example:

>>> import oneflow as flow
>>> x = flow.tensor([1, 2, 3])
>>> x.bitwise_xor(4)
tensor([5, 6, 7], dtype=oneflow.int64)
>>> y = flow.tensor([2, 1, 0])
>>> x.bitwise_xor(y)
tensor([3, 3, 3], dtype=oneflow.int64)