code: def jacobian_and_hessian(func, func_out_ndim=None):
      """Wrap autograd jacobian and hessian functions.
  
      Parameters
      ----------
      func : callable
          Function whose jacobian and hessian values
          will be computed.
      func_out_ndim : int
          Unused. Here for API consistency.
  
      Returns
      -------
      func_with_jacobian_and_hessian : callable
          Function that returns func's jacobian and
          func's hessian values at its inputs args.
      """
      return _value_and_jacobian(jacobian_vec(func))
  
file_path: geomstats/geomstats/_backend/autograd/autodiff.py
imports: import autograd
  import autograd.numpy
  from autograd import jacobian
label_desc: Use image node_id 10 for calling a global function with example usage: jacobian_and_hessian(func, func_out_ndim) and returns: _value_and_jacobian