MCPcopy Create free account
hub / github.com/THUDM/GLM / __iter__

Method __iter__

data_utils/datasets.py:188–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

186 return self._Y
187
188 def __iter__(self):
189 for idx in self.split_inds:
190 yield self.wrapped_data[idx]
191
192
193def split_ds(ds, split=None, shuffle=True, save_splits=None, load_splits=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected