IPUPlace¶
- class paddle.fluid.libpaddle. IPUPlace
-
IPUPlace is a descriptor of a device. It represents a IPU device on which a tensor will be allocated and a model will run.
Examples
IPUPlace is a descriptor of a device. It represents a IPU device on which a tensor will be allocated and a model will run.
Examples
System Message: ERROR/3 (docstring of paddle.fluid.libpaddle.IPUPlace, line 6)
Error in “code-block” directive: maximum 1 argument(s) allowed, 3 supplied.
.. code-block:: python
import paddle
# required: ipu
ipu_place = paddle.IPUPlace()