Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lukemelas/EfficientNet-PyTorch
/ Swish
Class
Swish
efficientnet_pytorch/utils.py:54–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
return
SwishImplementation.apply(x)
53
54
class
Swish(nn.Module):
55
def
forward(self, x):
56
return
x * torch.sigmoid(x)
57
58
59
def
round_filters(filters, global_params):
Callers
2
set_swish
Method · 0.85
set_swish
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected