Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceClear/StableSR
/ __len__
Method
__len__
ldm/data/base.py:18–19 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
16
print(f
'{self.__class__.__name__} dataset contains {self.__len__()} examples.'
)
17
18
def
__len__(self):
19
return
self.num_records
20
21
@abstractmethod
22
def
__iter__(self):
Callers
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected