Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeformRobotics/OTS
/ __len__
Method
__len__
lib/utils/data/dataset.py:45–46 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
43
return
self.data_tensor[index], self.target_tensor[index]
44
45
def
__len__(self):
46
return
self.data_tensor.size(0)
47
48
49
class
ConcatDataset(Dataset):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected