Learn R Programming

torch (version 0.0.2)

torch_bitwise_not: Bitwise_not

Description

Bitwise_not

Arguments

input

(Tensor) the input tensor.

out

(Tensor, optional) the output tensor.

bitwise_not(input, out=None) -> Tensor

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