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

Method __init__

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

Source from the content-addressed store, hash-verified

192
193class DataHandler3(Dataset):
194 def __init__(self, X, Y, transform=None):
195 self.X = X
196 self.Y = Y
197 self.transform = transform
198
199 def __getitem__(self, index):
200 x, y = self.X[index], self.Y[index]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected