code: def quick_grad_check(
      fun,
      arg0,
      extra_args=(),
      kwargs={},
      verbose=True,
      eps=1e-4,
      rtol=1e-4,
      atol=1e-6,
      rs=None,
  ):
      warnings.warn(deprecation_msg)
      from autograd.test_util import check_grads
  
      fun_ = lambda arg0: fun(arg0, *extra_args, **kwargs)
      check_grads(fun_, modes=["rev"], order=1)(arg0)
  
imports: import operator
  import sys
  import warnings
label_desc: Use image node_id 4 for calling a global function with example usage: quick_grad_check(fun, arg0, extra_args, kwargs, verbose, eps, rtol, atol, rs) without return types