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

Method __init__

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

Source from the content-addressed store, hash-verified

208
209class DataHandler4(Dataset):
210 def __init__(self, X, Y, transform=None):
211 self.X = X
212 self.Y = Y
213 self.transform = transform
214
215 def __getitem__(self, index):
216 x, y = self.X[index], self.Y[index]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected