code: def fixed_point(f, a, x0, distance, tol):
      _f = f(a)
      x, x_prev = _f(x0), x0
      while distance(x, x_prev) > tol:
          x, x_prev = _f(x), x
      return x
  
imports: from autograd.extend import primitive, defvjp, vspace
  from autograd.builtins import tuple
  from autograd import make_vjp
label_desc: Use image node_id 1 for calling a global function with example usage: fixed_point(f, a, x0, distance, tol) and returns: x