code: def _ihfft_out_chunks(a, s, axes):
      assert len(axes) == 1
  
      axis = axes[0]
  
      if s is None:
          s = [a.chunks[axis][0]]
      else:
          assert len(s) == 1
  
      n = s[0]
  
      chunks = list(a.chunks)
      if n % 2 == 0:
          m = (n // 2) + 1
      else:
          m = (n + 1) // 2
      chunks[axis] = (m,)
      return chunks
  
file_path: dask/dask/array/fft.py
imports: from __future__ import annotations
  import inspect
  from collections.abc import Sequence
  import numpy
  from dask.array.core import asarray
  from dask.array.core import concatenate
  from dask.array.creation import arange
  from dask.utils import derived_from, skip_doctest
label_desc: Use image node_id 5 for calling a global function with example usage: _ihfft_out_chunks(a, s, axes) and returns: chunks