2e3c9f7e8a9de40dda50c48367b557d0d3258dc0,tflearn/helpers/trainer.py,TrainOp,_train,#TrainOp#Any#Any#Any#Any#,739
Before Change
update_val_op = [tf.assign(self.val_loss_T, self.val_loss),
tf.assign(self.val_acc_T, self.val_acc)]
else:
update_val_op = tf.assign(self.val_loss_T, self.val_loss)
self.session.run(update_val_op)
// Run summary operation.
test_summ_str = self.session.run(self.val_summary_op)
After Change
if show_metric:
update_val_op.append(tf.assign(self.val_acc_T, self.val_acc))
if self.validation_monitors:
for vmt, vm in zip(self.validation_monitors_T, self.validation_monitor_values):
update_val_op.append(tf.assign(vmt, vm))
self.session.run(update_val_op)
// Run summary operation.
test_summ_str = self.session.run(self.val_summary_op)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tflearn/tflearn
Commit Name: 2e3c9f7e8a9de40dda50c48367b557d0d3258dc0
Time: 2016-08-25
Author: ichuang@mit.edu
File Name: tflearn/helpers/trainer.py
Class Name: TrainOp
Method Name: _train
Project Name: keras-team/keras
Commit Name: b6d23b2e2dfc90480519ab52047006b1936fda02
Time: 2016-07-28
Author: jer.despraz@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: batch_set_value
Project Name: NervanaSystems/coach
Commit Name: b1e9ea48d86807382c5feca0d18a6bf71f5caa03
Time: 2019-01-03
Author: gouravr@amazon.com
File Name: rl_coach/architectures/tensorflow_components/savers.py
Class Name: GlobalVariableSaver
Method Name: __init__