code: def _kl_chi2_gamma(c0, g1, name=None):
      """Calculate batched KL divergence KL(c0 || g1) with c0 Chi2 and g1 Gamma."""
      return _kl_gamma_gamma(
          concentration0=0.5 * c0.df,
          rate0=0.5,
          concentration1=g1.concentration,
          rate1=g1.rate,
          name=name or "kl_chi2_gamma",
      )
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import softplus
  from tensorflow_probability.python.distributions import distribution
  from tensorflow_probability.python.distributions import gamma
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import parameter_properties
  from tensorflow_probability.python.internal import reparameterization
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.math import special
label_desc: Use image node_id 2 for calling a global function with example usage: _kl_chi2_gamma(c0, g1, name) and returns: _kl_gamma_gamma