Shortcuts

torch._foreach_abs

torch._foreach_abs(self: List[张量]) List[张量]

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