code: def test_grads():
      def fun(input_list):
          A = np.sum(np.sin(input_list[0]))
          B = np.sum(np.cos(input_list[1]))
          return A + B
  
      def d_fun(input_list):
          g = grad(fun)(input_list)
          A = np.sum(g[0])
          B = np.sum(np.sin(g[0]))
          C = np.sum(np.sin(g[1]))
          return A + B + C
  
      input_list = [npr.randn(5, 6), npr.randn(4, 3), npr.randn(2, 4)]
  
      check_grads(fun)(input_list)
      check_grads(d_fun)(input_list)
  
file_path: autograd/tests/test_list.py
imports: import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads, check_vjp, check_jvp
  from autograd import grad
  from autograd import list, isinstance
label_desc: Use image node_id 2 for calling a global function with example usage: test_grads() and returns: unknown, unknown