f786d86d79428c0a037855cfd67b457493cff1ca,tests/application_driver_test.py,ApplicationDriverTest,test_multi_device_gradients,#ApplicationDriverTest#,155

Before Change


            ["niftynet.engine.event_sampler.SamplerThreading"])
        with self.test_session(graph=test_driver.graph) as sess:
            sess.run(global_vars_init_or_restore())
            coord = tf.train.Coordinator()
            for samplers in test_driver.app.get_sampler():
                for sampler in samplers:
                    sampler.run_threads(sess, coord, test_driver.num_threads)
            for i in range(2):
                sess.run(test_driver.app.gradient_op)
                g_0, g_1, g_2, g_3, g_ave = sess.run([
                    test_driver.graph.get_tensor_by_name(

After Change


            ["niftynet.engine.event_sampler.SamplerThreading"])
        with self.test_session(graph=test_driver.graph) as sess:
            sess.run(global_vars_init_or_restore())
            SESS_STARTED.send(test_driver.app, iter_msg=None)
            for i in range(2):
                sess.run(test_driver.app.gradient_op)
                g_0, g_1, g_2, g_3, g_ave = sess.run([
                    test_driver.graph.get_tensor_by_name(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 13

Instances


Project Name: NifTK/NiftyNet
Commit Name: f786d86d79428c0a037855cfd67b457493cff1ca
Time: 2018-04-25
Author: wenqi.li@ucl.ac.uk
File Name: tests/application_driver_test.py
Class Name: ApplicationDriverTest
Method Name: test_multi_device_gradients


Project Name: NifTK/NiftyNet
Commit Name: f786d86d79428c0a037855cfd67b457493cff1ca
Time: 2018-04-25
Author: wenqi.li@ucl.ac.uk
File Name: tests/application_driver_test.py
Class Name: ApplicationDriverTest
Method Name: test_multi_device_inputs


Project Name: NifTK/NiftyNet
Commit Name: f786d86d79428c0a037855cfd67b457493cff1ca
Time: 2018-04-25
Author: wenqi.li@ucl.ac.uk
File Name: tests/application_driver_test.py
Class Name: ApplicationDriverTest
Method Name: test_training_update


Project Name: NifTK/NiftyNet
Commit Name: f786d86d79428c0a037855cfd67b457493cff1ca
Time: 2018-04-25
Author: wenqi.li@ucl.ac.uk
File Name: tests/application_driver_test.py
Class Name: ApplicationDriverTest
Method Name: test_stop_app