MCPcopy Create free account
hub / github.com/FreeformRobotics/OTS / __len__

Method __len__

lib/utils/data/dataset.py:101–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 return self.dataset[self.indices[idx]]
100
101 def __len__(self):
102 return len(self.indices)
103
104
105def random_split(dataset, lengths):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected