code: def _execute(
      pocketfft_func,
      x,
      type,
      s,
      axes,
      norm,
      overwrite_x,
      workers,
      orthogonalize,
  ):
      xp = array_namespace(x)
      x = np.asarray(x)
      y = pocketfft_func(
          x,
          type,
          s,
          axes,
          norm,
          overwrite_x=overwrite_x,
          workers=workers,
          orthogonalize=orthogonalize,
      )
      return xp.asarray(y)
  
file_path: scipy/scipy/fft/_realtransforms_backend.py
imports: from scipy._lib._array_api import array_namespace
  import numpy
  from .None import _pocketfft
label_desc: Use image node_id 1 for calling a global function with example usage: _execute(pocketfft_func, x, type, s, axes, norm, overwrite_x, workers, orthogonalize) and returns: xp