torch._foreach_abs

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

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

本页目录