快捷方式

torch._foreach_trunc

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

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


© 版權所有 PyTorch 貢獻者。

使用 Sphinx 構建,主題由 Read the Docs 提供。

文件

訪問全面的 PyTorch 開發者文件

檢視文件

教程

獲取面向初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並獲得問題解答

檢視資源