Closed kl869994854 closed 1 year ago
In the function 'loss_func' of 'Net class' of"Burgers.ipynb", do we need to add 'self.adam.zero_grad()' ?
Yes, you are right. It is actually a bug, I fixed now, thanks a lot for pointing out.
In the function 'loss_func' of 'Net class' of"Burgers.ipynb", do we need to add 'self.adam.zero_grad()' ?