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

Method __len__

diffusers/examples/amused/train_amused.py:361–362  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

359 self.prompt_prefix = prompt_prefix
360
361 def __len__(self):
362 return len(self.hf_dataset)
363
364 def __getitem__(self, index):
365 item = self.hf_dataset[index]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected