Open AbdelrahimKoura opened 3 months ago
In the notebook Chapter03/Batch_normalization.ipynb in function def train_batch(x, y, model, opt, loss_fn): the author use the following cod optimizer.step(), optimizer.zero_grad() but must use the parameter name opt
can you elaborate the code snippet? The diffs in the commit are not helpful
In the notebook Chapter03/Batch_normalization.ipynb in function def train_batch(x, y, model, opt, loss_fn): the author use the following cod optimizer.step(), optimizer.zero_grad() but must use the parameter name opt