torch._foreach_neg

torch._foreach_neg(self:List[Tensor]) List[Tensor]

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

本页目录