code: def fft_grad(get_args, fft_fun, ans, x, *args, **kwargs):
      axes, s, norm = get_args(x, *args, **kwargs)
      check_no_repeated_axes(axes)
      vs = vspace(x)
      return lambda g: match_complex(
          x, truncate_pad(fft_fun(g, *args, **kwargs), vs.shape)
      )
  
file_path: autograd/autograd/numpy/fft.py
imports: from __future__ import absolute_import
  from builtins import zip
  import numpy.fft
  from .numpy_wrapper import wrap_namespace
  from .numpy_vjps import match_complex
  from .None import numpy_wrapper
  from autograd.extend import primitive, defvjp, vspace
label_desc: Use image node_id 1 for calling a global function with example usage: fft_grad(get_args, fft_fun, ans, x) and returns: function