MCPcopy Create free account
hub / github.com/buaacxf/VIPTR / __len__

Method __len__

dataload/loader.py:46–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44
45
46 def __len__(self):
47 return self.nSamples
48
49 def __getitem__(self, index):
50 assert index <= len(self), 'index range error'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected