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