Pytorch, Torch, Torchvision, Deep Learning, Python.
tensor(5804.8628) epoch: 1 loss value: tensor(42980.1445) ------- We can see that the gradient of the weight changes in different epochs regarding the changes in the loss function. Basically, backward is used when we want to compute the gradients of the current tensor in the computational Graph