def test_forward_gpu_no_cudnn(self): self.check_forward( cuda.to_gpu(self.x), cuda.to_gpu(self.t), None if not self.weight_apply else cuda.to_gpu(self.class_weight), False)