code: def setup_docs(functorch_api, torch_func_api=None, new_api_name=None):
      api_name = functorch_api.__name__
      if torch_func_api is None:
          torch_func_api = getattr(_impl, api_name)
      # See https://docs.python.org/3/using/cmdline.html#cmdoption-OO
      if torch_func_api.__doc__ is None:
          return
  
      warning = get_warning(api_name, new_api_name)
      warning_note = "\n.. warning::\n\n" + textwrap.indent(
          warning, "    "
      )
      warning_note = textwrap.indent(warning_note, "    ")
      functorch_api.__doc__ = torch_func_api.__doc__ + warning_note
  
imports: import torch._functorch.apis
  import torch._functorch.eager_transforms
  import torch._functorch.make_functional
  from torch._functorch.vmap import in_dims_t, out_dims_t
  from torch._functorch.eager_transforms import argnums_t
  import torch.nn
  import textwrap
  from typing import Any, Callable, Optional, Tuple, Union
  import warnings
label_desc: Use image node_id 3 for calling a global function with example usage: setup_docs(functorch_api, torch_func_api, new_api_name) without return types