dfo.py
def _prep_data(self):
        """
        Loads train/dev/test data and initializes the training data iterator.
        """
        self.train_data, self.dev_data, self.test_data, self.src_vocab, self.trg_vocab = load_data(data_cfg=self.data_cfg)

        self.train_iter = data.BucketIterator(repeat=True, sort=False, dataset=self.train_data, batch_size=self.train_cfg['batch_size'],
                                              batch_size_fn=None, train=False, shuffle=True)

        self.logger.info('Data loaded.')

        Loads train/dev/test data and initializes the training data iterator.
        
Loads train/dev/test data and initializes the training data iterator.
Loads train / dev / test data and initializes the training data iterator .
def _prep_data(self):
        self.train_data, self.dev_data, self.test_data, self.src_vocab, self.trg_vocab = load_data(data_cfg=self.data_cfg)
        self.train_iter = data.BucketIterator(repeat=True, sort=False, dataset=self.train_data, batch_size=self.train_cfg['batch_size'],
                                              batch_size_fn=None, train=False, shuffle=True)
        self.logger.info('Data loaded.')
def _prep_data ( self ) : self . train_data , self . dev_data , self . test_data , self . src_vocab , self . trg_vocab = load_data ( data_cfg = self . data_cfg ) self . train_iter = data . BucketIterator ( repeat = True , sort = False , dataset = self . train_data , batch_size = self . train_cfg [ 'batch_size' ] , batch_size_fn = None , train = False , shuffle = True ) self . logger . info ( 'Data loaded.' )
Loads train/dev/test data and initializes the training data iterator.
Loads train / dev / test data and initializes the training data iterator .
"""
        Loads train/dev/test data and initializes the training data iterator.
        """
self