docstr: Checks approximate samples from the model against the ground truth.
code: def testSyntheticLogGaussianCoxProcessHMC(self):
      """Checks approximate samples from the model against the ground truth."""
      model = log_gaussian_cox_process.SyntheticLogGaussianCoxProcess()
  
      self.validate_ground_truth_using_hmc(
          model,
          num_chains=4,
          num_steps=3000,
          num_leapfrog_steps=5,
          step_size=0.001,
          dtype=tf.float64,
          use_xla=BACKEND
          == "backend_jax",  # TF XLA is very slow on this problem
      )
  
file_path: probability/spinoffs/inference_gym/inference_gym/targets/log_gaussian_cox_process_test.py
imports: 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 log_gaussian_cox_process
label_desc: Use image node_id 4 for calling the LogGaussianCoxProcessTest obj's underlying member method code with example usage: obj.testSyntheticLogGaussianCoxProcessHMC() without return types