88a96639ea79b9678fd70d5e5919d5ef7fcb9a89,dataset/pipeline.py,Pipeline,gen_batch,#Pipeline#Any#Any#Any#Any#Any#,266

Before Change


                    is_end = True
        else:
            for batch in batch_generator:
                yield self._exec_all_actions(batch)

        self.reset_iter()

    def next_batch(self, batch_size, shuffle=False, n_epochs=1, drop_last=False, prefetch=0, *args, **kwargs):

After Change


        else:
            for batch in batch_generator:
                try:
                    batch_res = self._exec_all_actions(batch)
                except SkipBatchException:
                    pass
                else:
                    yield batch_res
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: analysiscenter/batchflow
Commit Name: 88a96639ea79b9678fd70d5e5919d5ef7fcb9a89
Time: 2017-07-07
Author: rhudor@gmail.com
File Name: dataset/pipeline.py
Class Name: Pipeline
Method Name: gen_batch


Project Name: analysiscenter/batchflow
Commit Name: 44e2ba91b97e297403289a1e0a5bb0e331d99c0c
Time: 2017-03-21
Author: rhudor@gmail.com
File Name: dataset/preprocess.py
Class Name: Preprocessing
Method Name: _run_seq


Project Name: analysiscenter/batchflow
Commit Name: 7bd4cf20a1f033ca1d38e1a025251af0b54b019d
Time: 2017-03-13
Author: rhudor@gmail.com
File Name: dataset/preprocess.py
Class Name: Preprocessing
Method Name: create_batch


Project Name: analysiscenter/batchflow
Commit Name: 7bd4cf20a1f033ca1d38e1a025251af0b54b019d
Time: 2017-03-13
Author: rhudor@gmail.com
File Name: dataset/preprocess.py
Class Name: Preprocessing
Method Name: next_batch