59c4ceb96c9e855bd6eb349aa99f87e3f7d3d3c2,tests/links_tests/model_tests/ssd_tests/test_multibox_loss.py,TestMultiboxLoss,test_forward_gpu,#TestMultiboxLoss#,54
Before Change
def test_forward_gpu(self):
self._check_forward(
cuda.to_gpu(self.x_loc), cuda.to_gpu(self.x_conf),
cuda.to_gpu(self.t_loc), cuda.to_gpu(self.t_conf))
testing.run_module(__name__, __file__)
After Change
self.x_loc.to_gpu()
self.x_conf.to_gpu()
self.t_loc.to_gpu()
self.t_conf.to_gpu()
self._check_forward(
self.x_loc, self.x_conf, self.t_loc, self.t_conf)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: chainer/chainercv
Commit Name: 59c4ceb96c9e855bd6eb349aa99f87e3f7d3d3c2
Time: 2017-05-28
Author: Hakuyume@users.noreply.github.com
File Name: tests/links_tests/model_tests/ssd_tests/test_multibox_loss.py
Class Name: TestMultiboxLoss
Method Name: test_forward_gpu
Project Name: chainer/chainercv
Commit Name: 59c4ceb96c9e855bd6eb349aa99f87e3f7d3d3c2
Time: 2017-05-28
Author: Hakuyume@users.noreply.github.com
File Name: tests/links_tests/model_tests/ssd_tests/test_multibox_loss.py
Class Name: TestMultiboxLoss
Method Name: test_forward_gpu