torch_bitwise_not: Bitwise_not

View source: R/gen-namespace.R

torch_bitwise_notR Documentation

Bitwise_not

Description

Bitwise_not

Usage

torch_bitwise_not(self)

Arguments

self

(Tensor) the input tensor.

bitwise_not(input, out=NULL) -> 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.


torch documentation built on Oct. 24, 2022, 5:08 p.m.