From 5c285878b275352145e7d2f656fcc9ad00838153 Mon Sep 17 00:00:00 2001 From: Vinay Kumar <12234745+imflash217@users.noreply.github.com> Date: Sun, 13 Mar 2022 21:37:42 -0400 Subject: [PATCH] Fixed typo in docs/en/understand_mmcv/cnn.md Fixed typo in `docs/en/understand_mmcv/cnn.md`. The `BaseModule` class implements `init_weights()` not `init_weight()` --- docs/en/understand_mmcv/cnn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/understand_mmcv/cnn.md b/docs/en/understand_mmcv/cnn.md index bc0d36af2a..e87dc79e02 100644 --- a/docs/en/understand_mmcv/cnn.md +++ b/docs/en/understand_mmcv/cnn.md @@ -368,7 +368,7 @@ Let us introduce the usage of `initialize` in detail. 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`.