MCPcopy Create free account
hub / github.com/cure-lab/deep-active-learning / __init__

Method __init__

dataset.py:178–181  ·  view source on GitHub ↗
(self, X, Y, transform=None)

Source from the content-addressed store, hash-verified

176
177class DataHandler2(Dataset):
178 def __init__(self, X, Y, transform=None):
179 self.X = X
180 self.Y = Y
181 self.transform = transform
182
183 def __getitem__(self, index):
184 x, y = self.X[index], self.Y[index]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected