MCPcopy Create free account
hub / github.com/computational-imaging/bacon / forward

Method forward

modules.py:83–84  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

81 self.cst = torch.log(torch.tensor(2.))
82
83 def forward(self, input):
84 return self.softplus(input)-self.cst
85
86
87class Swish(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected