MCPcopy Create free account
hub / github.com/geekcomputers/Python / __getitem__

Method __getitem__

ML/src/python/neuralforge/data/datasets.py:235–236  ·  view source on GitHub ↗
(self, idx)

Source from the content-addressed store, hash-verified

233 return len(self.dataset)
234
235 def __getitem__(self, idx):
236 return self.dataset[idx]
237
238class Caltech256Dataset:
239 def __init__(self, root='./data', transform=None, download=True):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected