code: def _reorder(x, axes):
      if x is None:
          return
      return type(x)(x[ax] for ax in axes)
  
imports: import numpy
  from ...None import opcodes
  from ...serialization.serializables import FieldTypes, KeyField, ListField
  from ..operands import TensorHasInput, TensorOperandMixin
  from ..datasource import tensor
  from ..array_utils import as_same_device, device
  from ..utils import reverse_order
  from ..core import TensorOrder
label_desc: Use image node_id 1 for calling a global function with example usage: _reorder(x, axes) and returns: type