Unverified Commit 5b7a167c authored by Vinay Kumar's avatar Vinay Kumar Committed by GitHub
Browse files

[Docs] Fix typo in docs/en/understand_mmcv/cnn.md (#1799)

Fixed typo in `docs/en/understand_mmcv/cnn.md`. The `BaseModule` class implements `init_weights()` not `init_weight()`
parent 5c5a8e03
...@@ -368,7 +368,7 @@ Let us introduce the usage of `initialize` in detail. ...@@ -368,7 +368,7 @@ Let us introduce the usage of `initialize` in detail.
4. Initialize model inherited from BaseModule, Sequential, ModuleList, ModuleDict 4. Initialize model inherited from BaseModule, Sequential, ModuleList, ModuleDict
`BaseModule` is inherited from `torch.nn.Module`, and the only different between them is that `BaseModule` implements `init_weight`. `BaseModule` is inherited from `torch.nn.Module`, and the only different between them is that `BaseModule` implements `init_weights()`.
`Sequential` is inherited from `BaseModule` and `torch.nn.Sequential`. `Sequential` is inherited from `BaseModule` and `torch.nn.Sequential`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment