Rate this Page

torch._foreach_neg#

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

Apply torch.neg() to each Tensor of the input list.