MCPcopy Create free account
hub / github.com/dcharatan/flowmap / __len__

Method __len__

flowmap/dataset/validation_wrapper.py:22–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 self.dataset_iterator = None
21
22 def __len__(self):
23 return self.length
24
25 def __getitem__(self, index: int):
26 if isinstance(self.dataset, IterableDataset):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected