class_docstr: Tests the PoissonLogNormalQuadratureCompoundTest distribution.
class_docstr_tok: ["Tests","the","PoissonLogNormalQuadratureCompoundTest","distribution","."]
code: def testSampleProbConsistent(self):
      pln = pl.PoissonLogNormalQuadratureCompound(
          loc=tf1.placeholder_with_default(
              -2.0, shape=[] if self.static_shape else None
          ),
          scale=tf1.placeholder_with_default(
              1.1, shape=[] if self.static_shape else None
          ),
          quadrature_size=10,
          validate_args=True,
      )
      self.run_test_sample_consistent_log_prob(
          self.evaluate, pln, batch_size=1, rtol=0.1
      )
  
imports: import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import poisson_lognormal
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the _PoissonLogNormalQuadratureCompoundTest obj's underlying member method code with example usage: obj.testSampleProbConsistent() without return types