code: def idct(input, type=2, n=None, axis=-1, norm=None, name=None):
      inverse_type = {1: 1, 2: 3, 3: 2, 4: 4}[type]
      return ivy.dct(
          input, type=inverse_type, n=n, axis=axis, norm=norm
      )
  
file_path: ivy/ivy/functional/frontends/tensorflow/signal.py
imports: import ivy
  from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back, handle_tf_dtype
  from ivy.func_wrapper import with_supported_dtypes
label_desc: Use image node_id 2 for calling a global function with example usage: idct(input, type, n, axis, norm, name) and returns: ivy