code: def transpose(op, input, *args):
      out_data = op(input._data, *args)
      out_scale = input._scale
      if input.axis is not None:
          # We need to transpose also the scale
          out_scale = op(out_scale, *args)
      return QTensor(out_data, out_scale)
  
imports: import numbers
  from dataclasses import dataclass, field
  from functools import partial
  from typing import Any, Callable, List, Optional
  import torch
  from .None import QTensor, dtype_info, qfallback
label_desc: Use image node_id 25 for calling a global function with example usage: transpose(op, input) and returns: QTensor