Loading [Contrib]/a11y/accessibility-menu.js
\u200E
XPUPlace
-
paddle.device.
XPUPlace
(
dev_id: int
)
→ _XPUPlace
[source]
-
Return a Baidu Kunlun Place
-
Parameters
-
dev_id (int) – Baidu Kunlun device id
Examples
>>>
>>> import paddle
>>> paddle.device.set_device('xpu')
>>> place = paddle.device.XPUPlace(0)