code: def fft2(x, s=None, axes=(-2, -1), norm="backward", name=None):
      if axes is None:
          axes = (-2, -1)
      ret = ivy.fft2(x, s=s, dim=axes, norm=norm)
      return ret
  
file_path: ivy/ivy/functional/frontends/paddle/fft.py
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 2 for calling a global function with example usage: fft2(x, s, axes, norm, name) and returns: ret