From 4b948dc1e1417dd28454c2023a432aedd5dd16ca Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Ewers Date: Fri, 26 Nov 2021 09:37:58 +0000 Subject: [PATCH] Changed == to = as in the code --- beginner_source/transfer_learning_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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