ed2a92cf0f4ab75f49f83432bc56b06b6c7112df,seq2seq/tf/seq2seq.py,,,#,262

Before Change


        summary_op = tf.merge_all_summaries()
        train_writer = tf.train.SummaryWriter(FLAGS.outdir + "/train", sess.graph)
        init = tf.initialize_all_variables()
        saver = tf.train.Saver()
        sess.run(init)

        err_min = 0
        last_improved = 0

After Change


        init = tf.initialize_all_variables()
        sess.run(init)

        trainer.prepare(tf.train.Saver())

        err_min = 1
        last_improved = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: dpressel/mead-baseline
Commit Name: ed2a92cf0f4ab75f49f83432bc56b06b6c7112df
Time: 2016-07-29
Author: dpressel@gmail.com
File Name: seq2seq/tf/seq2seq.py
Class Name:
Method Name:


Project Name: dpressel/mead-baseline
Commit Name: d000c8074d91a786efc9b54c95587d4d5337bac0
Time: 2018-06-30
Author: dpressel@gmail.com
File Name: python/baseline/tf/classify/train.py
Class Name:
Method Name: fit


Project Name: tensorflow/benchmarks
Commit Name: 2c34b38fb0272c51c8f60717f5aba6ddd5fdb837
Time: 2018-10-11
Author: haoyuzhang@google.com
File Name: scripts/tf_cnn_benchmarks/models/ssd_model.py
Class Name: SSD300Model
Method Name: add_backbone_saver


Project Name: emedvedev/attention-ocr
Commit Name: 860dc3903f01527b9fa57d50da63910c4cea6c2f
Time: 2016-11-13
Author: ubuntu@ip-172-31-22-240.us-west-2.compute.internal
File Name: src/model/model.py
Class Name: Model
Method Name: __init__