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