torch._foreach_neg_¶ torch._foreach_neg_(self: List[Tensor]) → None¶ 將 torch.neg() 應用於輸入清單中的每個 Tensor。