torch.xpu.device_count# torch.xpu.device_count()[source]# Return the number of XPU device available. Return type int