code: def _log_prob_increment_log_prob_ratio(p, x, q, y, name=None):
      """Computes the log-prob ratio."""
      del x, y
      # pylint: disable=protected-access
      with tf.name_scope(name or "log_prob_increment_log_prob_ratio"):
          if (
              p._log_prob_ratio_fn is not None
              and p._log_prob_ratio_fn is q._log_prob_ratio_fn
          ):
              return p._log_prob_ratio_fn(
                  p._log_prob_increment_kwargs,
                  q._log_prob_increment_kwargs,
              )
          else:
              return p.unnormalized_log_prob(
                  ()
              ) - q.unnormalized_log_prob(())
  
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import identity
  from tensorflow_probability.python.distributions import distribution
  from tensorflow_probability.python.distributions import log_prob_ratio
  from tensorflow_probability.python.internal import callable_util
  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.internal import tensorshape_util
label_desc: Use image node_id 1 for calling a global function with example usage: _log_prob_increment_log_prob_ratio(p, x, q, y, name) and returns: p, unknown