docstr: Checks approximate samples from the model against the ground truth.
docstr_tok: ["Checks","approximate","samples","from","the","model","against","the","ground","truth","."]
code: def testRadonHMC(self):
      """Checks approximate samples from the model against the ground truth."""
      model = self.build_model()
      self.validate_ground_truth_using_hmc(
          model,
          num_chains=4,
          num_steps=4000,
          num_leapfrog_steps=15,
          step_size=0.03,
          dtype=self.dtype,
          standard_deviation_fudge_atol=1e-4,
      )
      self.assertSameElements(
          tf.nest.flatten(model.dtype), [self.dtype]
      )
  
imports: import functools
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from inference_gym.internal import test_util
  from inference_gym.targets import radon_contextual_effects
label_desc: Use image node_id 2 for calling the _RadonContextualEffectsWithDataTest obj's underlying member method code with example usage: obj.testRadonHMC() without return types