評價此頁

torch._foreach_neg_#

torch._foreach_neg_(self: List[Tensor]) None#

torch.neg() 應用於輸入列表中的每個 Tensor。