torch.xpu.is_available# torch.xpu.is_available()[source]# Return a bool indicating if XPU is currently available. Return type bool