Learn R Programming

torch (version 0.0.2)

torch_bitwise_xor: Bitwise_xor

Description

Bitwise_xor

Arguments

input

NA the first input tensor

other

NA the second input tensor

out

(Tensor, optional) the output tensor.

bitwise_xor(input, other, out=None) -> Tensor

Computes the bitwise XOR of input and other. The input tensor must be of integral or Boolean types. For bool tensors, it computes the logical XOR.