From f9d50b7ef4bba5a49f80d3da1e2b4563417281b6 Mon Sep 17 00:00:00 2001 From: Karel Ha Date: Sun, 8 Mar 2020 19:24:30 +0000 Subject: [PATCH] Update neural_style_tutorial.py Fix typo in "modul" to "module" --- advanced_source/neural_style_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced_source/neural_style_tutorial.py b/advanced_source/neural_style_tutorial.py index 374e6794238..5b8e56bdc0c 100644 --- a/advanced_source/neural_style_tutorial.py +++ b/advanced_source/neural_style_tutorial.py @@ -403,7 +403,7 @@ def get_input_optimizer(input_img): # each iteration of the networks, it is fed an updated input and computes # new losses. We will run the ``backward`` methods of each loss module to # dynamicaly compute their gradients. The optimizer requires a “closure” -# function, which reevaluates the modul and returns the loss. +# function, which reevaluates the module and returns the loss. # # We still have one final constraint to address. The network may try to # optimize the input with values that exceed the 0 to 1 tensor range for