code: def _run(self, data, perm=None):  # type: ignore
      perm_ = None if (perm is None or len(perm) == 0) else perm
      if perm_ is None:
          return (np.transpose(data),)
      if len(perm_) != len(data.shape):
          raise RuntimeError(
              f"Inconsistent permutation {perm_!r} with shape {data.shape!r}."
          )
      return (np.transpose(data, axes=perm_),)
  
imports: import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 for calling the Transpose obj's underlying member method code with example usage: obj._run(data, perm) and returns: np, np