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

Method __len__

project_utils/data_utils.py:56–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 else:
55 self.data0_is_numpy = True
56 def __len__(self):
57 return len(self.dataset)
58
59 def __getitem__(self, indices):
60 return self._get_single_item(indices)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected