torch._foreach_neg_¶ torch._foreach_neg_(self: List[Tensor]) → None¶ 将 torch.neg() 应用于输入列表的每个 Tensor。