Sergey commited on
Commit
b1f0abc
·
unverified ·
1 Parent(s): d44dbc0

Update module.py (#96)

Browse files

Fixed missing the self keyword

Files changed (1) hide show
  1. 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