code: def _swap(it, axis1, axis2):
      new_it = list(it)
      new_it[axis1], new_it[axis2] = it[axis2], it[axis1]
  
      return tuple(new_it)
  
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 1 for calling a global function with example usage: _swap(it, axis1, axis2) and returns: tuple