

def __init__(self, train_valid_test_ratio=[8, 1, 1], preprocessor=None, noise=None, batch_size=100, num_batches=None, iter_class='SequentialSubsetIterator', rng=None, log=None):
    '\n        DESCRIPTION: Abstract class\n        PARAMS:\n            split_mode(sequential | random): sequentially or randomly split the dataset\n        '
    assert (len(train_valid_test_ratio) == 3), 'the size of list is not 3'
    self.ratio = train_valid_test_ratio
    self.preprocessor = preprocessor
    self.noise = noise
    self.iter_class = iter_class
    self.batch_size = batch_size
    self.num_batches = num_batches
    self.rng = rng
    self.log = log
    if (self.log is None):
        self.log = Log(logger=internal_logger)

dataset/ETHPy150Open hycis/Pynet/pynet/datasets/dataset.py Dataset.__init__/original