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

Method __init__

codegeex/mindspore/src/sat_dataset.py:181–183  ·  view source on GitHub ↗
(self, ds)

Source from the content-addressed store, hash-verified

179 """
180
181 def __init__(self, ds):
182 self.wrapped_data = ds
183 self.index_mapping = np.random.permutation(np.arange(len(ds)))
184
185 def __len__(self):
186 return len(self.wrapped_data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected