torch_negative function

Negative

Negative

torch_negative(self)

Arguments

  • self: (Tensor) the input tensor.

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

Alias for torch_neg()

  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14