code: def test_grad_fanout():
      fun = lambda x: np.sin(np.sin(x) + np.sin(x))
      df = grad(fun)
      check_grads(fun)(npr.randn())
      check_grads(df)(npr.rand())
  
imports: from __future__ import absolute_import
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads
  from autograd import grad
  import warnings
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_grad_fanout() without return types