9f0215940aa032f539094c59c46506973cbaca07,tests/chainer_tests/function_hooks_tests/test_cupy_memory_profile.py,TestCupyMemoryProfileHookToLink,test_forward_gpu,#TestCupyMemoryProfileHookToLink#,55

Before Change


                      basic_math.Mul, int, int)

    def test_forward_gpu(self):
        self.l.to_gpu()
        self.check_forward(cuda.to_gpu(self.x))

    def check_backward(self, x, gy):
        x = chainer.Variable(x)

After Change


                      basic_math.Mul, int, int)

    def test_forward_gpu(self):
        with testing.assert_warns(DeprecationWarning):
            self.l.to_gpu()
        self.check_forward(cuda.to_gpu(self.x))

    def check_backward(self, x, gy):
        x = chainer.Variable(x)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 4

Instances


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/function_hooks_tests/test_cupy_memory_profile.py
Class Name: TestCupyMemoryProfileHookToLink
Method Name: test_forward_gpu


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/training_tests/updaters_tests/test_multiprocess_parallel_updater.py
Class Name: TestGatherScatter
Method Name: test_gather_scatter_params


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/function_hooks_tests/test_timer.py
Class Name: TestTimerHookToLink
Method Name: test_backward_gpu


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/training_tests/updaters_tests/test_multiprocess_parallel_updater.py
Class Name: TestGatherScatter
Method Name: test_gather_scatter_grads


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/function_hooks_tests/test_timer.py
Class Name: TestTimerHookToLink
Method Name: test_forward_gpu


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/graph_optimization_tests/test_static_graph_models.py
Class Name: TestSimpleChain
Method Name: test_forward_gpu


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/optimizers_tests/test_optimizers_by_linear_model.py
Class Name: OptimizerTestBase
Method Name: test_model_setup_multi_gpu


Project Name: chainer/chainer
Commit Name: 9f0215940aa032f539094c59c46506973cbaca07
Time: 2019-09-23
Author: niboshi000@gmail.com
File Name: tests/chainer_tests/function_hooks_tests/test_cupy_memory_profile.py
Class Name: TestCupyMemoryProfileHookToLink
Method Name: test_backward_gpu