MCPcopy Create free account
hub / github.com/ICTMCG/FakeSV / __len__

Method __len__

code/utils/dataloader.py:61–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 self.datamode = datamode
60
61 def __len__(self):
62 return self.data.shape[0]
63
64 def __getitem__(self, idx):
65 item = self.data.iloc[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected