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

Method __getitem__

train.py:324–325  ·  view source on GitHub ↗
(self, idx)

Source from the content-addressed store, hash-verified

322 return len(self.data)
323
324 def __getitem__(self, idx):
325 return self.data[idx]
326
327
328def worker_init_fn(_):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected