Glossary: Deep Learning Basics
Device
Also written: devices, cuda, CUDA, mps, Metal Performance Shaders, cpu
Where a tensor lives and is computed: `cpu` (main processor), `cuda` (NVIDIA GPU) or `mps` (Apple-silicon GPU, M1 and later). Everything in one calculation must be on the same device; move things with `.to(device)`.