c3e844e7063efc14f6a8364cc04df4526b57352e,tests/keras/utils/generic_utils_test.py,,test_progbar,#,16

Before Change



    bar = Progbar(n)
    for i, arr in enumerate(input_arr):
        bar.update(i, list(arr))

    bar = Progbar(None)
    for i, arr in enumerate(input_arr):

After Change


        for verbose in (0, 1, 2):
            bar = Progbar(target, width=30, verbose=verbose, interval=0.05)
            for force in (False, True):
                for current, values in enumerate(values_s):
                    bar.update(current, values=values, force=force)


def test_custom_objects_scope():

    def custom_fn():
        pass
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: keras-team/keras
Commit Name: c3e844e7063efc14f6a8364cc04df4526b57352e
Time: 2018-01-11
Author: ozabluda@gmail.com
File Name: tests/keras/utils/generic_utils_test.py
Class Name:
Method Name: test_progbar


Project Name: AlexEMG/DeepLabCut
Commit Name: 857cb1f38abfc3f467b6a8e53ae54365e05fcff2
Time: 2019-02-23
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/labeling_toolbox.py
Class Name: MainFrame
Method Name: browseDir


Project Name: OpenNMT/OpenNMT-py
Commit Name: 4db646a43bb65d44ebe98261a547da58e21be9d5
Time: 2017-09-01
Author: bpeters@coli.uni-saarland.de
File Name: onmt/IO.py
Class Name: ONMTDataset
Method Name: __init__