More details can be seen in the PyTorch tutorials: ...