Skip to content

Commit f9d50b7

Browse files
authored
Update neural_style_tutorial.py
Fix typo in "modul" to "module"
1 parent 7ba6693 commit f9d50b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced_source/neural_style_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def get_input_optimizer(input_img):
403403
# each iteration of the networks, it is fed an updated input and computes
404404
# new losses. We will run the ``backward`` methods of each loss module to
405405
# dynamicaly compute their gradients. The optimizer requires a “closure”
406-
# function, which reevaluates the modul and returns the loss.
406+
# function, which reevaluates the module and returns the loss.
407407
#
408408
# We still have one final constraint to address. The network may try to
409409
# optimize the input with values that exceed the 0 to 1 tensor range for

0 commit comments

Comments
 (0)