CPUPlace

class paddle. CPUPlace

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

Examples

>>> import paddle
>>> cpu_place = paddle.CPUPlace()