Frameworks give you tensors, automatic gradients and a training loop on GPUs.
Source: PyTorch: Learn the basics