DeviceCpuΒΆ

Returns the CPU device object.

PyTorch

API: β€”
Strategy: Macro 'torch.device('cpu')'

TensorFlow

API: β€”
Strategy: Macro ''/CPU:0''

Apple MLX

API: mlx.core.cpu
Strategy: Direct Mapping