code: def test_wrapped_name_and_docs():
      def foo(x):
          pass
  
      assert grad.__name__ == "grad"
      assert grad.__doc__.startswith("\n    Returns a function which")
      assert grad(foo, 1).__name__ == "grad_of_foo_wrt_argnum_1"
      assert grad(foo, 1).__doc__.startswith(
          "    grad of function foo with"
      )
  
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 29 for calling a global function with example usage: test_wrapped_name_and_docs() without return types