MCPcopy Create free account
hub / github.com/FreedomIntelligence/CMB / __len__

Method __len__

workers/base.py:356–357  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

354 return item
355
356 def __len__(self):
357 return len(self.data)
358
359 def collate_fn(self, batch):
360 # print(batch); exit()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected