50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

torch (version 0.14.2)

torch_negative: Negative

Description

Negative

Usage

torch_negative(self)

Arguments

self

(Tensor) the input tensor.

negative(input, *, out=None) -> Tensor

Alias for torch_neg()