code: def _raw_fftn_dispatch(x, shape, axes, overwrite_x, direction):
      tmp = _asfarray(x)
  
      try:
          work_function = _DTYPE_TO_FFTN[tmp.dtype]
      except KeyError:
          raise ValueError("type %s is not supported" % tmp.dtype)
  
      if not (
          istype(tmp, numpy.complex64) or istype(tmp, numpy.complex128)
      ):
          overwrite_x = 1
  
      overwrite_x = overwrite_x or _datacopied(tmp, x)
      return _raw_fftnd(
          tmp, shape, axes, direction, overwrite_x, work_function
      )
  
imports: from __future__ import division, print_function, absolute_import
  from numpy import swapaxes, zeros
  import numpy
  from .None import _fftpack
  from scipy.fftpack.helper import _init_nd_shape_and_axes_sorted
  import atexit
label_desc: Use image node_id 17 for calling a global function with example usage: _raw_fftn_dispatch(x, shape, axes, overwrite_x, direction) and returns: _raw_fftnd