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

Method forward

train_sonarllm.py:154–155  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

152 super().__init__()
153 self.linear = nn.Linear(in_dim, out_dim)
154 def forward(self, x):
155 return self.linear(x)
156
157class SonarLossWrapper(nn.Module):
158 def __init__(self, llama_model, forward_proj, reverse_proj, sonar_decoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected