code: def _to_tensor(self):
      data = self.model_inputs[0].zvalue
      if "perm" in self.onnx_attr:
          perm = self.onnx_attr["perm"]
      else:
          perm = [int(i) for i in range(len(data.shape) - 1, -1, -1)]
  
      assert perm[0] == 0, "Currently transpose 0 is not supported."
      dims = [int(i) for i in perm[1:]]
      return zlayers.Permute(dims)(data)
  
imports: from zoo.pipeline.api.onnx.mapper.operator_mapper import OperatorMapper
  import zoo.pipeline.api.keras.layers
  import bigdl.nn.layer
label_desc: Use image node_id 2 for calling the TransposeMapper obj's underlying member method code with example usage: obj._to_tensor() and returns: zlayers