快捷方式

torch.cuda.is_tf32_supported

torch.cuda.is_tf32_supported()[原始碼][原始碼]

返回一個布林值,指示當前的 CUDA/ROCm 裝置是否支援 dtype 為 tf32。

返回型別

bool

文件

查閱 PyTorch 的全面開發者文件

檢視文件

教程

獲取針對初學者和高階開發者的深度教程

檢視教程

資源

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

檢視資源