MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / forward

Method forward

inference/models/falcon.py:221–224  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

219 self.dense_4h_to_h = nn.Linear(4 * dim, dim, bias=False)
220
221 def forward(self, x):
222 x = self.act(self.dense_h_to_4h(x))
223 x = self.dense_4h_to_h(x)
224 return x
225
226
227class TransformerBlock(nn.Module):

Callers 1

forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected