code: def test_return_both():
      fun = lambda x: 3.0 * x**3.2
      d_fun = grad(fun)
      f_and_d_fun = value_and_grad(fun)
  
      test_x = 1.7
      f, d = f_and_d_fun(test_x)
      assert f == fun(test_x)
      assert d == d_fun(test_x)
  
imports: from __future__ import absolute_import
  from builtins import range
  import warnings
  from functools import partial
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads, check_equivalent
  from autograd.tracer import primitive, isbox
  from autograd import grad, elementwise_grad, jacobian, value_and_grad, hessian_tensor_product, hessian, make_hvp, tensor_jacobian_product, checkpoint, make_jvp, make_ggnvp, grad_and_aux
label_desc: Use image node_id 1 for calling a global function with example usage: test_return_both() without return types