code: def test_clear_step_adapter(self):
      builder = kernel_builder.KernelBuilder.make(lambda x: x)
      builder = builder.hmc(num_leapfrog_steps=3).simple_adaptation(
          adaptation_rate=0.03
      )
      kernel = builder.build(10).inner_kernel
      self.assertIsInstance(
          kernel, simple_step_size_adaptation.SimpleStepSizeAdaptation
      )
  
      builder = builder.clear_step_adapter()
      kernel = builder.build(10).inner_kernel
      self.assertIsInstance(kernel, hmc.HamiltonianMonteCarlo)
  
file_path: probability/tensorflow_probability/python/experimental/mcmc/kernel_builder_test.py
imports: from tensorflow_probability.python.experimental.mcmc import kernel_builder
  from tensorflow_probability.python.experimental.mcmc import sample_discarding_kernel
  from tensorflow_probability.python.experimental.mcmc import with_reductions
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.internal import unnest
  from tensorflow_probability.python.mcmc import hmc
  from tensorflow_probability.python.mcmc import nuts
  from tensorflow_probability.python.mcmc import simple_step_size_adaptation
  from tensorflow_probability.python.mcmc import transformed_kernel
label_desc: Use image node_id 6 for calling the TestKernelBuilder obj's underlying member method code with example usage: obj.test_clear_step_adapter() without return types