MCPcopy Create free account
hub / github.com/SooLab/CGFormer / __len__

Method __len__

utils/dataset.py:114–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112 self.keys = loads_pyarrow(txn.get(b'__keys__'))
113
114 def __len__(self):
115 return self.length
116
117 def __getitem__(self, index):
118 # Delay loading LMDB data until after initialization: https://github.com/chainer/chainermn/issues/129

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected