code: def test_custom_log_prob_ratio(self):
      def log_prob_ratio_fn(p_kwargs, q_kwargs):
          return 2 * (p_kwargs["value"] - q_kwargs["value"])
  
      p = increment_log_prob.IncrementLogProb(
          lambda value: value,
          log_prob_ratio_fn=log_prob_ratio_fn,
          log_prob_increment_kwargs=dict(value=3.0),
      )
      q = increment_log_prob.IncrementLogProb(
          lambda value: value,
          log_prob_ratio_fn=log_prob_ratio_fn,
          log_prob_increment_kwargs=dict(value=1.0),
      )
      q2 = increment_log_prob.IncrementLogProb(
          lambda value: value, log_prob_increment_kwargs=dict(value=1.0)
      )
  
      self.assertAllClose(
          2.0 * (3.0 - 1.0), log_prob_ratio.log_prob_ratio(p, (), q, ())
      )
      self.assertAllClose(
          (3.0 - 1.0), log_prob_ratio.log_prob_ratio(p, (), q2, ())
      )
  
file_path: probability/tensorflow_probability/python/experimental/distributions/increment_log_prob_test.py
imports: from absl.testing import parameterized
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import log_prob_ratio
  from tensorflow_probability.python.experimental.distributions import increment_log_prob
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 8 for calling the IncrementLogProbTest obj's underlying member method code with example usage: obj.test_custom_log_prob_ratio() and returns: unknown