快捷方式

torch.mps.profiler.is_capturing_metal

torch.mps.profiler.is_capturing_metal()[原始碼][原始碼]

檢查 Metal 捕獲是否正在進行中

返回型別

bool

文件

訪問 PyTorch 的全面開發者文件

檢視文件

教程

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

檢視教程

資源

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

檢視資源