torch._foreach_neg_

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

对输入列表中的每个张量应用torch.neg()

本页目录