code: def test_nested_higher_order():
      def outer_fun(x):
          def inner_fun(y):
              return y[0] * y[1]
  
          return np.sum(
              np.sin(np.array(grad(inner_fun)(ag_tuple((x, x)))))
          )
  
      check_grads(outer_fun)(5.0)
      check_grads(grad(outer_fun))(10.0)
      check_grads(grad(grad(outer_fun)))(10.0)
  
file_path: autograd/tests/test_tuple.py
imports: from __future__ import absolute_import
  from __future__ import print_function
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads
  from autograd import tuple, isinstance
  from autograd import grad
label_desc: Use image node_id 3 for calling a global function with example usage: test_nested_higher_order() and returns: np, unknown