MCPcopy 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
50class MemoryEfficientSwish(nn.Module):
51 def forward(self, x):
52 return SwishImplementation.apply(x)
53
54class Swish(nn.Module):
55 def forward(self, x):

Callers 4

__init__Method · 0.85
set_swishMethod · 0.85
__init__Method · 0.85
set_swishMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected