Learn R Programming

torch (version 0.0.2)

torch_bitwise_or: Bitwise_or

Description

Bitwise_or

Arguments

input

NA the first input tensor

other

NA the second input tensor

out

(Tensor, optional) the output tensor.

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

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