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

Method __getitem__

code/utils.py:259–260  ·  view source on GitHub ↗
(self, idx)

Source from the content-addressed store, hash-verified

257 return len(self.features)
258
259 def __getitem__(self, idx):
260 return self.features[idx], self.label_emb[idx], self.label[idx]
261
262class ProjectHead(nn.Module):
263 def __init__(self, input_dim: int, target_dim: int) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected