MCPcopy Create free account
hub / github.com/FusionBrainLab/SONAR-LLM / __init__

Method __init__

train_sonarllm.py:151–153  ·  view source on GitHub ↗
(self, in_dim, out_dim)

Source from the content-addressed store, hash-verified

149# ------------------------------------------------------------------------
150class Projector(nn.Module):
151 def __init__(self, in_dim, out_dim):
152 super().__init__()
153 self.linear = nn.Linear(in_dim, out_dim)
154 def forward(self, x):
155 return self.linear(x)
156

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected