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):

        '''
        DESCRIPTION: Abstract class
        PARAMS:
            split_mode(sequential | random): sequentially or randomly split the dataset
        '''

        assert len(train_valid_test_ratio) not in 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:
            # use default Log setting
            self.log = Log(logger=internal_logger)
dataset/ETHPy150Open hycis/Pynet/pynet/datasets/dataset.py/Dataset.__init__/operator `==` -> `not in`