Sergey
commited on
Update module.py (#96)
Browse filesFixed missing the self keyword
- yolo/model/module.py +1 -1
yolo/model/module.py
CHANGED
@@ -473,7 +473,7 @@ class ImplicitA(nn.Module):
|
|
473 |
self.std = std
|
474 |
|
475 |
self.implicit = nn.Parameter(torch.empty(1, channel, 1, 1))
|
476 |
-
nn.init.normal_(self.implicit, mean=mean, std=self.std)
|
477 |
|
478 |
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
479 |
return self.implicit + x
|
|
|
473 |
self.std = std
|
474 |
|
475 |
self.implicit = nn.Parameter(torch.empty(1, channel, 1, 1))
|
476 |
+
nn.init.normal_(self.implicit, mean=self.mean, std=self.std)
|
477 |
|
478 |
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
479 |
return self.implicit + x
|