MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / __getitem__

Method __getitem__

codegeex/mindspore/src/sat_dataset.py:103–105  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

101 return self.bin.shape[0]
102
103 def __getitem__(self, index):
104 print(f"Get text: {index}")
105 return self.process_fn(self.bin[index], index)
106
107
108class TSVDataset(Dataset):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected