def test_backward_gpu(self): self.link.to_gpu() self.check_backward(cuda.to_gpu(self.x1), cuda.to_gpu(self.x2), cuda.to_gpu(self.gy))