评价此页

torch.mtia.device_count#

torch.mtia.device_count()[源代码]#

返回可用 MTIA 设备的数量。

返回类型

int