評價此頁

torch.mtia.device_count#

torch.mtia.device_count()[原始碼]#

返回可用 MTIA 裝置的數量。

返回型別

int