code: def test_getter():
      def fun(input_tuple):
          A = np.sum(input_tuple[0])
          B = np.sum(input_tuple[1])
          C = np.sum(input_tuple[1])
          return A + B + C
  
      d_fun = grad(fun)
      input_tuple = (npr.randn(5, 6), npr.randn(4, 3), npr.randn(2, 4))
  
      result = d_fun(input_tuple)
      assert np.allclose(result[0], np.ones((5, 6)))
      assert np.allclose(result[1], 2 * np.ones((4, 3)))
      assert np.allclose(result[2], np.zeros((2, 4)))
  
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 1 for calling a global function with example usage: test_getter() and returns: unknown