瀏覽代碼

Funnel ReLU (FReLU) @staticmethod bug fix (#556)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
5.0
Glenn Jocher 4 年之前
父節點
當前提交
c8892672a7
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      utils/activations.py

+ 0
- 1
utils/activations.py 查看文件

@@ -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)))

Loading…
取消
儲存