MCPcopy Create free account
hub / github.com/NineAbyss/ZeroG / __len__

Method __len__

code/utils.py:256–257  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

254 self.label = label
255
256 def __len__(self):
257 return len(self.features)
258
259 def __getitem__(self, idx):
260 return self.features[idx], self.label_emb[idx], self.label[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected