class_docstr: Log-softmax activation function.
code: def forward(self, xs):
      y = _log_softmax(xs[0], axis=self.axis)
      self._x_xp = backend.get_array_module(*xs)
      self._x_shape = xs[0].shape
      self._x_dtype = xs[0].dtype
      self.retain_outputs((0,))
      return (y,)
  
imports: import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  import chainer.functions
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 4 for calling the LogSoftmax obj's underlying member method code with example usage: obj.forward(xs) and returns: y