torch._foreach_neg¶ torch._foreach_neg(self: List[Tensor]) → List[Tensor]¶ 將 torch.neg() 應用於輸入列表中的每個張量。