MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __len__

Method __len__

diffusers/examples/dreambooth/train_dreambooth.py:751–752  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

749 self.num_samples = num_samples
750
751 def __len__(self):
752 return self.num_samples
753
754 def __getitem__(self, index):
755 example = {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected