e6c3f77b0b10b0d76778109a40d6d3282f1cadd0,keras/callbacks.py,ProgbarLogger,__init__,#ProgbarLogger#Any#,258
Before Change
def __init__(self, count_mode="samples"):
super(ProgbarLogger, self).__init__()
if count_mode == "samples":
self.use_steps = False
elif count_mode == "steps":
self.use_steps = True
else:
raise ValueError("Unknown `count_mode`: " + str(count_mode))
def on_train_begin(self, logs=None):
self.verbose = self.params["verbose"]
self.epochs = self.params["epochs"]
After Change
def __init__(self, stateful_metrics=None):
if stateful_metrics:
self.stateful_metrics = set(stateful_metrics)
else:
self.stateful_metrics = set()
def on_epoch_begin(self, epoch, logs=None):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: keras-team/keras
Commit Name: e6c3f77b0b10b0d76778109a40d6d3282f1cadd0
Time: 2018-02-07
Author: francois.chollet@gmail.com
File Name: keras/callbacks.py
Class Name: ProgbarLogger
Method Name: __init__
Project Name: keras-team/keras
Commit Name: 075c34d037ec564aa9c923a653c2cc3135c99510
Time: 2015-12-07
Author: max.pumperla@googlemail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: pool2d
Project Name: dmlc/gluon-nlp
Commit Name: 03b0e7061cf477fbeccb9c128ee76603df582d86
Time: 2018-09-04
Author: leonard@lausen.nl
File Name: scripts/word_embeddings/evaluate_pretrained.py
Class Name:
Method Name: