MCPcopy Create free account
hub / github.com/CompVis/diff2flow / __len__

Method __len__

diff2flow/dataloader.py:274–275  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

272 self.kwargs = {k: tuple(v) if not isinstance(v, str) else v for k, v in kwargs.items()}
273
274 def __len__(self):
275 return int(self.num_samples)
276
277 def __getitem__(self, idx):
278 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected