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