MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / forward

Method forward

tests/dump_vit_reference.py:118–119  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

116 self.act = act_layer()
117 self.fc2 = nn.Linear(hidden_features, out_features)
118 def forward(self, x):
119 return self.fc2(self.act(self.fc1(x)))
120
121
122def save_tensor(path, t):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected