Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FusionBrainLab/SONAR-LLM
/ Projector
Class
Projector
generate.py:27–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
26
27
class
Projector(nn.Module):
28
def
__init__(self, in_dim, out_dim):
29
super().__init__()
30
self.linear = nn.Linear(in_dim, out_dim)
31
32
def
forward(self, x):
33
return
self.linear(x)
34
35
36
class
SonarInferenceWrapper(nn.Module):
Callers
1
generate.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected