code: def test_jacobian_scalar_to_vector():
      fun = lambda x: np.array([x, x**2, x**3])
      val = npr.randn()
      assert np.allclose(
          jacobian(fun)(val), np.array([1.0, 2 * val, 3 * val**2])
      )
  
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 2 for calling a global function with example usage: test_jacobian_scalar_to_vector() without return types