code: def _find_nested_target_log_prob_recursively(kernel):
      kernel_stack = _make_kernel_stack(kernel)
      target_log_prob_fn = kernel_stack[-1].parameters[
          "target_log_prob_fn"
      ]
      return target_log_prob_fn
  
imports: import collections
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.mcmc import kernel
  from tensorflow_probability.python.mcmc.internal import util
  from tensorflow.python.util import deprecation
label_desc: Use image node_id 5 for calling a global function with example usage: _find_nested_target_log_prob_recursively(kernel) and returns: target_log_prob_fn