Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeformRobotics/OTS
/ __len__
Method
__len__
lib/utils/data/sampler.py:35–36 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
33
return
iter(range(len(self.data_source)))
34
35
def
__len__(self):
36
return
len(self.data_source)
37
38
39
class
RandomSampler(Sampler):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected