def test_backward_gpu(self): self.check_backward((cuda.to_gpu(self.diag), cuda.to_gpu( self.non_diag)), cuda.to_gpu(self.gy))