Shortcuts

torch._foreach_round_

torch._foreach_round_(self: List[张量]) None

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

优云智算