CPUAccelerator¶
- class lightning.fabric.accelerators.CPUAccelerator[source]¶
Bases:
Accelerator
Accelerator for CPU devices.
- setup_device(device)[source]¶
- Raises:
ValueError – If the selected device is not CPU.
- Return type:
Bases: Accelerator
Accelerator for CPU devices.
ValueError – If the selected device is not CPU.