Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monalissaa/DisenDiff
/ __len__
Method
__len__
train.py:344–345 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
342
self.data = dataset
343
344
def
__len__(self):
345
return
len(self.data)
346
347
def
__getitem__(self, idx):
348
return
self.data[idx]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected