class_docstr: Fake TransitionKernel for testing MetropolisHastings.
class_docstr_tok: ["Fake","TransitionKernel","for","testing","MetropolisHastings","."]
code: def one_step(self, current_state, previous_kernel_results, **kwargs):
      self.call_count["one_step"] += 1
      if ("seed" in kwargs) and not self._accepts_seed_arg:
          raise TypeError("`seed` arg not welcome")
      return self._one_step_fn(current_state, previous_kernel_results)
  
imports: import collections
  import warnings
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.mcmc import kernel
  from tensorflow_probability.python.mcmc import metropolis_hastings
  from tensorflow_probability.python.mcmc.internal.util import is_list_like
label_desc: Use image node_id 4 for calling the FakeTransitionKernel obj's underlying member method code with example usage: obj.one_step(current_state, previous_kernel_results) and returns: self