Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/computational-imaging/bacon
/ forward
Method
forward
modules.py:73–74 ·
view source on GitHub ↗
(self, input)
Source
from the content-addressed store, hash-verified
71
self.w0 = torch.tensor(w0)
72
73
def
forward(self, input):
74
return
torch.sin(self.w0*input)
75
76
77
class
MSoftplus(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected