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

Method __getitem__

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

Source from the content-addressed store, hash-verified

69 return len(self.dataset)
70
71 def __getitem__(self, idx):
72 return self.dataset[idx]
73
74class FashionMNISTDataset:
75 def __init__(self, root='./data', train=True, transform=None, download=True):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected