From Dev.to
How does PyTorch find every gradient by itself?
Autograd, step by step: PyTorch records the forward pass as a graph, then replays it backward. In the last article we did backpropagation by hand. We sent the error back through a tiny network, one no...
