diff --git a/beginner_source/transfer_learning_tutorial.py b/beginner_source/transfer_learning_tutorial.py index 4639f65a7eb..5f921b90c52 100644 --- a/beginner_source/transfer_learning_tutorial.py +++ b/beginner_source/transfer_learning_tutorial.py @@ -288,7 +288,7 @@ def visualize_model(model, num_images=6): # ---------------------------------- # # Here, we need to freeze all the network except the final layer. We need -# to set ``requires_grad == False`` to freeze the parameters so that the +# to set ``requires_grad = False`` to freeze the parameters so that the # gradients are not computed in ``backward()``. # # You can read more about this in the documentation