MCPcopy 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
54class Swish(nn.Module):
55 def forward(self, x):
56 return x * torch.sigmoid(x)
57
58
59def round_filters(filters, global_params):

Callers 2

set_swishMethod · 0.85
set_swishMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected