def test_forward_gpu(self): xs_gpu = [chainer.cuda.to_gpu(x) for x in self.xs] self.check_forward(xs_gpu)