code: def _process_axes(cls, x, axes):
      if axes is None:
          axes = tuple(range(x.ndim))
      elif isinstance(axes, Iterable):
          axes = tuple(axes)
      else:
          axes = (axes,)
  
      return axes
  
imports: from collections.abc import Iterable
  from ...core import recursive_tile
  from ...serialization.serializables import FieldTypes, KeyField, StringField, Int32Field, Int64Field, TupleField
  from ...utils import has_unknown_shape
  from ..utils import validate_axis, decide_chunk_sizes
  from ..operands import TensorHasInput, TensorOperandMixin
  from ..array_utils import get_array_module
label_desc: Use image node_id 2 for calling the TensorFFTShiftMixin obj's underlying member method code with example usage: obj._process_axes(cls, x, axes) and returns: axes