MCPcopy Create free account
hub / github.com/adobe-research/custom-diffusion / __len__

Method __len__

train.py:321–322  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

319 self.data = dataset
320
321 def __len__(self):
322 return len(self.data)
323
324 def __getitem__(self, idx):
325 return self.data[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected