torch._foreach_trunc

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

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

本页目录