code: def _cholesky_inverse(x):
      """
      Like :func:`torch.cholesky_inverse` but supports batching and gradients.
      """
      return _cholesky_solve(_new_eye(x, x.shape[:-1]), x)
  
imports: import numbers
  import typing
  import jax.numpy
  import jax.random
  import numpy
  from jax import lax
  from jax.core import Tracer
  from jax.scipy.linalg import cho_solve, solve_triangular
  from jax.scipy.special import expit, gammaln, logsumexp
  from ..None import ops
label_desc: Use image node_id 15 for calling a global function with example usage: _cholesky_inverse(x) and returns: _cholesky_solve