MCPcopy Create free account
hub / github.com/SpatialVLA/SpatialVLA / __len__

Method __len__

train/monkey_patch.py:150–151  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 self.generator = generator
149
150 def __len__(self):
151 return len(self.lengths)
152
153 def __iter__(self):
154 indices = get_length_grouped_indices(self.lengths, self.batch_size, self.world_size, generator=self.generator)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected