Rate this Page

torch._foreach_neg#

torch._foreach_neg(self:List[Tensor])List[Tensor]#

Applytorch.neg() to each Tensor of the input list.