code: def test_jacobian_against_stacked_grads():
      scalar_funs = [
          lambda x: np.sum(x**3),
          lambda x: np.prod(np.sin(x) + np.sin(x)),
          lambda x: grad(lambda y: np.exp(y) * np.tanh(x[0]))(x[1]),
      ]
  
      vector_fun = lambda x: np.array([f(x) for f in scalar_funs])
  
      x = npr.randn(5)
      jac = jacobian(vector_fun)(x)
      grads = [grad(f)(x) for f in scalar_funs]
  
      assert np.allclose(jac, np.vstack(grads))
  
file_path: autograd/tests/test_jacobian.py
imports: from __future__ import division
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads
  from autograd import grad, jacobian
label_desc: Use image node_id 3 for calling a global function with example usage: test_jacobian_against_stacked_grads() without return types