MCPcopy Create free account
hub / github.com/ml-explore/mlx-examples / __call__

Method __call__

llms/speculative_decoding/model.py:277–278  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

275 self.linear = nn.Linear(config.d_model, config.vocab_size, bias=False)
276
277 def __call__(self, inputs):
278 return self.linear(inputs)
279
280
281class Model(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected