Skip to content

Commit 4b948dc

Browse files
Changed == to = as in the code
1 parent 2571e95 commit 4b948dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/transfer_learning_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def visualize_model(model, num_images=6):
288288
# ----------------------------------
289289
#
290290
# Here, we need to freeze all the network except the final layer. We need
291-
# to set ``requires_grad == False`` to freeze the parameters so that the
291+
# to set ``requires_grad = False`` to freeze the parameters so that the
292292
# gradients are not computed in ``backward()``.
293293
#
294294
# You can read more about this in the documentation

0 commit comments

Comments
 (0)