Skip to contents

Negative

Usage

torch_negative(self)

Arguments

self

(Tensor) the input tensor.

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

Alias for torch_neg()