code: def grad_inv(ans, x):
      return lambda g: -_dot(_dot(T(ans), g), T(ans))
  
file_path: autograd/autograd/numpy/linalg.py
imports: from __future__ import absolute_import
  from functools import partial
  import numpy.linalg
  from .numpy_wrapper import wrap_namespace
  from .None import numpy_wrapper
  from autograd.extend import defvjp, defjvp
label_desc: Use image node_id 4 for calling a global function with example usage: grad_inv(ans, x) and returns: function