e96e2ae8a6888473093726b925b13012a2f4ce8b,tflearn/helpers/evaluator.py,Evaluator,evaluate,#Evaluator#Any#Any#Any#,62
Before Change
return prediction
def evaluate(self, feed_dict, metric="accuracy", batch_size=128):
raise NotImplementedError
After Change
return prediction
def evaluate(self, feed_dict, ops, batch_size=128):
coord = tf .train.Coordinator()
inputs = tf.get_collection(tf.GraphKeys.INPUTS)
// Data Preprocessing
dprep_dict = []
dprep_collection = tf.get_collection(tf.GraphKeys.DATA_PREP)
for i in range(len(inputs)):
// Support for custom inputs not using dprep/daug
if len(dprep_collection) > i:
if dprep_collection[i] is not None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: tflearn/tflearn
Commit Name: e96e2ae8a6888473093726b925b13012a2f4ce8b
Time: 2016-05-15
Author: aymeric.damien@gmail.com
File Name: tflearn/helpers/evaluator.py
Class Name: Evaluator
Method Name: evaluate
Project Name: tflearn/tflearn
Commit Name: e96e2ae8a6888473093726b925b13012a2f4ce8b
Time: 2016-05-15
Author: aymeric.damien@gmail.com
File Name: tflearn/helpers/evaluator.py
Class Name: Evaluator
Method Name: evaluate
Project Name: tensorlayer/tensorlayer
Commit Name: b2e6cccd53bd6c076c32421b8c4d562a96437524
Time: 2018-03-10
Author: dhsig552@163.com
File Name: tensorlayer/layers/normalization.py
Class Name: LayerNormLayer
Method Name: __init__
Project Name: tensorflow/cleverhans
Commit Name: 28e57ccc6bab553b67c04d7da02cd9e1523e48f3
Time: 2018-07-09
Author: dberth@google.com
File Name: cleverhans/model.py
Class Name: Model
Method Name: get_params