code: def jacrev(
      func: Callable,
      argnums: Union[int, Tuple[int]] = 0,
      *,
      has_aux=False,
      chunk_size: Optional[int] = None,
      _preallocate_and_copy=False,
  ):
      warn_deprecated("jacrev")
      return _impl.jacrev(
          func,
          argnums,
          has_aux=has_aux,
          chunk_size=chunk_size,
          _preallocate_and_copy=_preallocate_and_copy,
      )
  
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 9 for calling a global function with example usage: jacrev(func, argnums) and returns: _impl