code: def _get_shape(cls, op, shape):
      new_shape = list(shape)
      if op.n is not None:
          new_shape[op.axis] = op.n
      else:
          new_shape[op.axis] = 2 * (shape[op.axis] - 1)
      return tuple(new_shape)
  
file_path: mars/mars/tensor/fft/hfft.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 TensorHFFT obj's underlying member method code with example usage: obj._get_shape(cls, op, shape) and returns: tuple