code: def on_output_modify(self, new_output):
      op = TensorSwapAxes(
          axis1=self._axis2,
          axis2=self._axis1,
          dtype=new_output.dtype,
          sparse=new_output.issparse(),
      )
      return op(new_output)
  
imports: from ...None import opcodes
  from ...serialization.serializables import KeyField, Int32Field
  from ..array_utils import as_same_device, device
  from ..core import TensorOrder
  from ..datasource import tensor
  from ..operands import TensorHasInput, TensorOperandMixin
  from ..utils import validate_axis, reverse_order
label_desc: Use image node_id 6 for calling the TensorSwapAxes obj's underlying member method code with example usage: obj.on_output_modify(new_output) and returns: op