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