評價此頁

torch._foreach_trunc#

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

torch.trunc() 應用於輸入列表中的每個 Tensor。