Return the number of XPUs available.
the number of XPUs available.
int
Examples
>>> import paddle >>> paddle.device.xpu.device_count()