Funnel ReLU (FReLU) @staticmethod bug fix ()

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pull/583/head
Glenn Jocher 2020-07-30 17:38:15 -07:00
parent 131782a2aa
commit c8892672a7
1 changed files with 0 additions and 1 deletions

View File

@ -69,6 +69,5 @@ class FReLU(nn.Module):
self.conv = nn.Conv2d(c1, c1, k, 1, 1, groups=c1)
self.bn = nn.BatchNorm2d(c1)
@staticmethod
def forward(self, x):
return torch.max(x, self.bn(self.conv(x)))