mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Fixed docstring typo for nn.Module.get_submodule (#73018)
Summary:
Description:
- Fixed docstring typo for nn.Module.get_submodule
otherwise output is invisible: https://pytorch.org/docs/stable/generated/torch.nn.Module.html#torch.nn.Module.get_submodule
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73018
Reviewed By: davidberard98
Differential Revision: D34310091
Pulled By: jbschlosser
fbshipit-source-id: e35aef2b7479bdd81fb6b7ddd203bd71798769e1
(cherry picked from commit e4944e1f8e)
This commit is contained in:
parent
1522912602
commit
af3ca50291
|
|
@ -404,7 +404,7 @@ class Module:
|
|||
For example, let's say you have an ``nn.Module`` ``A`` that
|
||||
looks like this:
|
||||
|
||||
.. code-block::text
|
||||
.. code-block:: text
|
||||
|
||||
A(
|
||||
(net_b): Module(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user