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

Method decode

makemore.py:531–533  ·  view source on GitHub ↗
(self, ix)

Source from the content-addressed store, hash-verified

529 return ix
530
531 def decode(self, ix):
532 word = ''.join(self.itos[i] for i in ix)
533 return word
534
535 def __getitem__(self, idx):
536 word = self.words[idx]

Callers 1

print_samplesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected