code: def _to_tensor(self):
      assert (
          len(self.model_inputs) == 1
      ), "LogSoftmax accept single input only"
      assert (
          int(self.onnx_attr["axis"]) == 1
      ), "LofSoftware only accept the default axis"
      rank = len(self.model_inputs[0].zvalue.shape)
      if rank == 2:
          logsoftmax = zlayers.Activation("log_softmax")
          return logsoftmax(self.model_inputs[0].zvalue)
      else:
          raise Exception("not supported.")
  
imports: from zoo.pipeline.api.onnx.mapper.operator_mapper import OperatorMapper
  from zoo.pipeline.api.onnx.onnx_helper import OnnxHelper
  import zoo.pipeline.api.keras.layers
label_desc: Use image node_id 2 for calling the LogSoftmaxMapper obj's underlying member method code with example usage: obj._to_tensor() and returns: logsoftmax