Skip to content

Commit 29a6011

Browse files
zeshengzongpytorchmergebot
authored andcommitted
Update
1 parent b887c2d commit 29a6011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/nn/modules/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def register_module_forward_hook(
261261
262262
The input contains only the positional arguments given to the module.
263263
Keyword arguments won't be passed to the hooks and only to the ``forward``.
264-
You can optionally modify the output of the module by returning a new value
264+
You can optionally modify the output of the module by returning a new value
265265
that will replace the output from the :func:`forward` function.
266266
267267
Parameters:

0 commit comments

Comments
 (0)