c3e844e7063efc14f6a8364cc04df4526b57352e,tests/keras/utils/generic_utils_test.py,,test_progbar,#,16
Before Change
bar = Progbar(None)
for i, arr in enumerate(input_arr):
bar.update(i, list(arr))
def test_custom_objects_scope():
After Change
@keras_test
def test_progbar():
values_s = [None,
[["key1", 1], ["key2", 1e-4]],
[["key3", 1], ["key2", 1e-4]]]
for target in (len(values_s) - 1, None):
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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: ray-project/ray
Commit Name: a644060daa4c22aabedcfd9b891d43f9afa88f97
Time: 2020-03-07
Author: ekhliang@gmail.com
File Name: rllib/utils/experimental_dsl.py
Class Name: CollectMetrics
Method Name: __call__
Project Name: keras-team/keras
Commit Name: 4d7ff76cfbaf5fb8a57d8f3232c989e8e2c2f5b5
Time: 2016-04-01
Author: francois.chollet@gmail.com
File Name: keras/wrappers/scikit_learn.py
Class Name: KerasClassifier
Method Name: score