code: def testTargetAcceptanceProbChecks(
      self, target_accept_prob, messsage
  ):
      def _impl():
          kernel = FakeMHKernel(
              FakeSteppedKernel(step_size=1.0), log_accept_ratio=0.0
          )
          kernel = sssa.SimpleStepSizeAdaptation(
              kernel,
              num_adaptation_steps=1,
              target_accept_prob=target_accept_prob,
              validate_args=True,
          )
          self.evaluate(kernel.bootstrap_results(tf.zeros(2)))
  
      if messsage:
          with self.assertRaisesOpError(messsage):
              _impl()
      else:
          _impl()
  
imports: import collections
  import functools
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.distributions import sample
  from tensorflow_probability.python.experimental.mcmc import sharded
  from tensorflow_probability.python.internal import distribute_lib
  from tensorflow_probability.python.internal import distribute_test_lib
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import generic
  from tensorflow_probability.python.mcmc import hmc
  from tensorflow_probability.python.mcmc import kernel
  from tensorflow_probability.python.mcmc import sample
  from tensorflow_probability.python.mcmc import simple_step_size_adaptation
label_desc: Use image node_id 10 for calling the SimpleStepSizeAdaptationTest obj's underlying member method code with example usage: obj.testTargetAcceptanceProbChecks(target_accept_prob, messsage) without return types