code: def hfftn(
      x,
      s=None,
      axes=None,
      norm=None,
      overwrite_x=False,
      workers=None,
      *,
      plan=None,
  ):
      xp = array_namespace(x)
      if is_numpy(xp):
          return _pocketfft.hfftn(
              x, s, axes, norm, overwrite_x, workers, plan=plan
          )
      if is_complex(x, xp):
          x = xp.conj(x)
      return irfftn(
          x,
          s,
          axes,
          _swap_direction(norm),
          overwrite_x,
          workers,
          plan=plan,
      )
  
imports: from scipy._lib._array_api import array_namespace, is_numpy, xp_unsupported_param_msg, is_complex
  from .None import _pocketfft
  import numpy
label_desc: Use image node_id 19 for calling a global function with example usage: hfftn(x, s, axes, norm, overwrite_x, workers) and returns: irfftn, _pocketfft