Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeformRobotics/OTS
/ __len__
Method
__len__
lib/utils/data/distributed.py:54–55 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
52
return
iter(indices)
53
54
def
__len__(self):
55
return
self.num_samples
56
57
def
set_epoch(self, epoch):
58
self.epoch = epoch
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected