评价此页

torch.mtia.device_count#

torch.mtia.device_count()[source]#

返回可用的 MTIA 设备数量。

返回类型

int