捷徑

torcharrow.NumericalColumn.round

NumericalColumn.round(decimals=0)

將資料中的每個值四捨五入到給定的小數位數。

decimalsint,預設值 0

要四捨五入的小數位數。如果 decimals 為負數,則指定小數點左邊的位數。

文件

存取 PyTorch 的完整開發者文件

檢視文件

教學課程

取得適用於初學者和進階開發者的深入教學課程

檢視教學課程

資源

尋找開發資源並獲得問題解答

檢視資源