About this question
What is meant by optimizer.zero_grad(). Just take an SGD as an example:
Wt+1=Wt−λgtWhich one becomes zero is it gt and not Wt for each batch right? Overall, for any optimizer, does it mean all other parameters except for Wt and Wt+1?