评价此页

torch.xpu.device_count#

torch.xpu.device_count()[source]#

Return the number of XPU device available.

返回类型

int