Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monalissaa/DisenDiff
/ __len__
Method
__len__
src/diffusers_data_pipeline.py:265–266 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
263
self.num_samples = num_samples
264
265
def
__len__(self):
266
return
self.num_samples
267
268
def
__getitem__(self, index):
269
example = {}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected