📄️ NDArray::cpu
Copy the NDArray to the CPU for computation. If the NDArray is already in RAM, a copy will still be made.
📄️ NDArray::gpu
Copy the NDArray to the GPU for computation. If the NDArray is already in VRAM, a copy will still be made.
📄️ NDArray::isGPU
Check if the NDArray is stored in the GPU.
📄️ NDArray::setDevice
Specifies which GPU device to use by ID. By default, all operations are performed on GPU id = 0.