def forward(self): x = chainer.Variable(self.x) return functions.log_softmax(x, use_cudnn=self.use_cudnn)