

def prepare(self, irange):
    if isinstance(self.input, list):
        for x in self.input:
            x.prepare(self)
    else:
        self.input.prepare(irange)
    if isinstance(self.target, list):
        for x in self.target:
            x.prepare(irange)
    else:
        self.target.prepare(irange)

dataset/ETHPy150Open Cysu/dlearn/dlearn/data/dataset.py Subset.prepare/VarMisuse@37/41 `irange`->`self`