dd07a4c41efed22afb5780cd584555cbff141c74,keras/engine/training_arrays.py,,predict_loop,#Any#Any#Any#Any#Any#Any#,227

Before Change


        unconcatenated_outs = []
        for step in range(steps):
            batch_outs = f(ins)
            if not isinstance(batch_outs, list):
                batch_outs = [batch_outs]
            if step == 0:
                for batch_out in batch_outs:
                    unconcatenated_outs.append([])
            for i, batch_out in enumerate(batch_outs):

After Change


        // and concatenate them upon returning.
        unconcatenated_outs = []
        for step in range(steps):
            batch_outs = f(ins)
            batch_outs = to_list(batch_outs)
            if step == 0:
                for batch_out in batch_outs:
                    unconcatenated_outs.append([])
            for i, batch_out in enumerate(batch_outs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 8

Instances


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/engine/training_arrays.py
Class Name:
Method Name: predict_loop


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/engine/training_generator.py
Class Name:
Method Name: fit_generator


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/engine/training_arrays.py
Class Name:
Method Name: fit_loop


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/engine/training.py
Class Name: Model
Method Name: compile


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/wrappers/scikit_learn.py
Class Name: KerasClassifier
Method Name: score


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/engine/training_arrays.py
Class Name:
Method Name: predict_loop


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/engine/training_generator.py
Class Name:
Method Name: evaluate_generator


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/legacy/layers.py
Class Name: Recurrent
Method Name: __call__


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/engine/training_generator.py
Class Name:
Method Name: predict_generator


Project Name: keras-team/keras
Commit Name: dd07a4c41efed22afb5780cd584555cbff141c74
Time: 2018-07-26
Author: gabrieldemarmiesse@gmail.com
File Name: keras/utils/multi_gpu_utils.py
Class Name:
Method Name: multi_gpu_model