code: def _kl_mvn_gp(mvn, gp, name=None):
      """Calculate the batched KL divergence KL(mvn || gp).
  
      Args:
        mvn: instance of a multivariate Normal distribution object (any subclass of
          MultivariateNormalLinearOperator)
        gp: instance of a GaussianProcess distribution object.
        name: (optional) Name to use for created operations.
          default is 'kl_mvn_gp'.
  
      Returns:
        Batchwise KL(mvn || gp)
      """
      return _kl_compatible_gp(mvn, gp, name or "kl_mvn_gp")
  
imports: import functools
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import identity
  from tensorflow_probability.python.bijectors import softplus
  from tensorflow_probability.python.distributions import cholesky_util
  from tensorflow_probability.python.distributions import distribution
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import mvn_linear_operator
  from tensorflow_probability.python.distributions.internal import stochastic_process_util
  from tensorflow_probability.python.internal import auto_composite_tensor
  from tensorflow_probability.python.internal import batch_shape_lib
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import nest_util
  from tensorflow_probability.python.internal import parameter_properties
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import reparameterization
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.math import linalg
  from tensorflow.python.util import deprecation
  from tensorflow.python.util import nest
label_desc: Use image node_id 6 for calling a global function with example usage: _kl_mvn_gp(mvn, gp, name) and returns: _kl_compatible_gp