MCPcopy
hub / github.com/karpathy/makemore / get_block_size

Method get_block_size

makemore.py:226–227  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 self.lm_head = nn.Linear(config.n_embd, self.vocab_size)
225
226 def get_block_size(self):
227 return self.block_size
228
229 def forward(self, idx, targets=None):
230

Callers 1

generateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected