Shortcuts

torch._foreach_trunc_

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

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

优云智算