CPUPlace

class paddle.fluid.CPUPlace

CPUPlace is a descriptor of a device. It represents a CPU device allocated or to be allocated with Tensor or LoDTensor.

Examples

import paddle.fluid as fluid
cpu_place = fluid.CPUPlace()to be allocated