YOLOv5-Lite icon indicating copy to clipboard operation
YOLOv5-Lite copied to clipboard

Hswish

Open robinjoe93 opened this issue 2 years ago • 0 comments

`class Hswish(nn.Module): def init(self, inplace=True): super(Hswish, self).init() self.relu = nn.ReLU6(inplace=inplace)

def forward(self, x):
    return self.relu(x + 3) / 6

` 这里的Hswish,forward时候是不是应该再 *x?

robinjoe93 avatar May 05 '22 08:05 robinjoe93