code: def _get_shape(cls, op, shape):
      new_shape = list(shape)
      shape = op.n if op.n is not None else shape[op.axis]
      if shape % 2 == 0:
          shape = (shape // 2) + 1
      else:
          shape = (shape + 1) // 2
      new_shape[op.axis] = shape
      return tuple(new_shape)
  
file_path: mars/mars/tensor/fft/ihfft.py
imports: import numpy
  from ...None import opcodes
  from ..datasource import tensor
  from .core import TensorFFTMixin, validate_fft, TensorHermitianFFT
label_desc: Use image node_id 2 for calling the TensorIHFFT obj's underlying member method code with example usage: obj._get_shape(cls, op, shape) and returns: tuple