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 June 7, 2023, 6:19 p.m.