MCPcopy Create free account
hub / github.com/TPCD/DCCL / __getitem__

Method __getitem__

project_utils/data_utils.py:59–60  ·  view source on GitHub ↗
(self, indices)

Source from the content-addressed store, hash-verified

57 return len(self.dataset)
58
59 def __getitem__(self, indices):
60 return self._get_single_item(indices)
61
62 def _get_single_item(self, index):
63 if self.data0_is_numpy:

Callers

nothing calls this directly

Calls 1

_get_single_itemMethod · 0.95

Tested by

no test coverage detected