Skip to content

Commit aba1083

Browse files
authored
fix a typo in zeroing_out_gradients.py
1 parent 26066b7 commit aba1083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/recipes/zeroing_out_gradients.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def forward(self, x):
182182
# ``optimizer.zero_grad()`` as long as all your model parameters are in
183183
# that optimizer. Use your best judgment to decide which one to use.
184184
#
185-
# Congratulations! You have successfully zeroed out gradients PyTorch.
185+
# Congratulations! You have successfully zeroed out gradients in PyTorch.
186186
#
187187
# Learn More
188188
# ----------

0 commit comments

Comments
 (0)