XPUPlace

class paddle. XPUPlace

Note: .. rubric:: Examples

System Message: ERROR/3 (docstring of paddle.fluid.core_avx.XPUPlace, line 4)

Error in “code-block” directive: maximum 1 argument(s) allowed, 8 supplied.

.. code-block:: python
  import paddle.fluid as fluid
  xpu_place = fluid.XPUPlace(0)