We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b887c2d commit 29a6011Copy full SHA for 29a6011
torch/nn/modules/module.py
@@ -261,7 +261,7 @@ def register_module_forward_hook(
261
262
The input contains only the positional arguments given to the module.
263
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
+ You can optionally modify the output of the module by returning a new value
265
that will replace the output from the :func:`forward` function.
266
267
Parameters:
0 commit comments