MCPcopy Create free account
hub / github.com/DragonisCV/RAM / __len__

Method __len__

ram/data/utils/data_sampler.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 return iter(indices)
44
45 def __len__(self):
46 return self.num_samples
47
48 def set_epoch(self, epoch):
49 self.epoch = epoch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected