Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lukemelas/EfficientNet-PyTorch
/ MemoryEfficientSwish
Class
MemoryEfficientSwish
efficientnet_pytorch/utils.py:50–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
49
50
class
MemoryEfficientSwish(nn.Module):
51
def
forward(self, x):
52
return
SwishImplementation.apply(x)
53
54
class
Swish(nn.Module):
55
def
forward(self, x):
Callers
4
__init__
Method · 0.85
set_swish
Method · 0.85
__init__
Method · 0.85
set_swish
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected