554d91ccf01cba9ae4952340323c585fbc17ea5b,nn_wtf/mnist_graph.py,MNISTGraph,train,#MNISTGraph#Any#Any#Any#Any#,39

Before Change



        // And then after everything is built, start the training loop.
        for self.step in range(max_steps):
            start_time = time.time()

            feed_dict, loss_value = self.run_training_steps(data_sets)

            duration = time.time() - start_time

            // Write the summaries and print an overview fairly often.
            if self.step % steps_between_checks == 0:
                self.write_summary(duration, feed_dict, loss_value, self.step)

After Change



    def train(self, data_sets, max_steps, precision=None, steps_between_checks=100):

        assert precision is None or 0. < precision < 1.

        self.session = self.initialize_session()

        // And then after everything is built, start the training loop.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: lene/nn-wtf
Commit Name: 554d91ccf01cba9ae4952340323c585fbc17ea5b
Time: 2016-02-26
Author: lene.preuss@gmail.com
File Name: nn_wtf/mnist_graph.py
Class Name: MNISTGraph
Method Name: train


Project Name: fgnt/pb_bss
Commit Name: 13511d70d464aecb0144c58416e688e1404cb803
Time: 2019-09-24
Author: cbj@mail.uni-paderborn.de
File Name: tests/speech_enhancement_test/test_beamformer.py
Class Name: TestCythonizedGetGEV
Method Name: test_result_equal


Project Name: tyarkoni/pliers
Commit Name: a12cd744ca19219ffa374fb2bbfb3ac80608a82d
Time: 2017-01-01
Author: tyarkoni@gmail.com
File Name: pliers/tests/test_converters.py
Class Name:
Method Name: test_converter_memoization