MLUPlace

class paddle.fluid.core_avx. MLUPlace

MLUPlace is a descriptor of a device. It represents a MLU device on which a tensor will be allocated and a model will run.

Examples

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

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

.. code-block:: python
  import paddle
  # required: mlu
  mlu_place = paddle.MLUPlace(0)