50914556832ada0004e55f004eed2b44f448cac6,train_fixed_dropout.py,,train,#,108

Before Change


                    format_str = (
                        "%s: step %d, loss = %.2f (%.1f examples/sec; %.3f "
                        "sec/batch)")
                    print(format_str % (datetime.now(), step, loss_value,
                                        examples_per_sec, sec_per_batch))
                    // log loss value
                    train_log.add_summary(summary_lines, global_step=step)

After Change


                    saver.save(sess, checkpoint_path, global_step=step)

                    // validation accuracy
                    validation_accuracy_value = evaluate.get_validation_accuracy(
                        LOG_DIR)
                    summary_line = sess.run(accuracy_summary,
                                            feed_dict={
                                                accuracy_value_:
                                                validation_accuracy_value
                                            })
                    validation_log.add_summary(summary_line, global_step=step)
                    validation_log.flush()

                    // train accuracy
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: galeone/dynamic-training-bench
Commit Name: 50914556832ada0004e55f004eed2b44f448cac6
Time: 2016-10-25
Author: nessuno@nerdz.eu
File Name: train_fixed_dropout.py
Class Name:
Method Name: train


Project Name: autorope/donkeycar
Commit Name: c8e5a57b44aa57c820c87acb4521a44339680eac
Time: 2019-01-15
Author: tawnkramer@gmail.com
File Name: donkeycar/parts/network.py
Class Name:
Method Name: test_tcp_client_server


Project Name: reinforceio/tensorforce
Commit Name: e2d3382bb4132ddb8aa586bf3c4c570be414f6af
Time: 2017-03-26
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/models/vpg_model.py
Class Name: VPGModel
Method Name: update


Project Name: cmu-db/ottertune
Commit Name: 5654d23637e7c3bb8d28cfa0bc187091a55d9d22
Time: 2019-12-04
Author: bohanzhang95@gmail.com
File Name: server/analysis/gpr/optimize.py
Class Name:
Method Name: tf_optimize


Project Name: autorope/donkeycar
Commit Name: a25f6d9156c9563069ef0997627d4743e5df2c03
Time: 2019-01-20
Author: tawnkramer@gmail.com
File Name: donkeycar/parts/network.py
Class Name:
Method Name: test_mqtt_pub_sub


Project Name: Bihaqo/t3f
Commit Name: 5b15a41758f0e4550754c2f95e1260cff2a10b9b
Time: 2017-02-07
Author: novikov@bayesgroup.ru
File Name: ops_test.py
Class Name: TTMatrixTest
Method Name: testFrobeniusNormTens