code: def idct(
      x,
      type=2,
      n=None,
      axis=-1,
      norm=None,
      overwrite_x=False,
      orthogonalize=None,
  ):
      inverse_type = {1: 1, 2: 3, 3: 2, 4: 4}[type]
      return ivy.dct(x, type=inverse_type, n=n, axis=axis, norm=norm)
  
file_path: ivy/ivy/functional/frontends/scipy/fft/fft.py
imports: from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back
  import ivy
label_desc: Use image node_id 4 for calling a global function with example usage: idct(x, type, n, axis, norm, overwrite_x, orthogonalize) and returns: ivy