class_docstr: Tests the PoissonLogNormalQuadratureCompoundTest distribution.
class_docstr_tok: ["Tests","the","PoissonLogNormalQuadratureCompoundTest","distribution","."]
code: def testMeanVarianceBroadcastBoth(self):
      pln = pl.PoissonLogNormalQuadratureCompound(
          loc=tf1.placeholder_with_default(
              [[0.0], [-0.5]],
              shape=[2, 1] if self.static_shape else None,
          ),
          scale=tf1.placeholder_with_default(
              [[1.0, 0.9]], shape=[1, 2] if self.static_shape else None
          ),
          quadrature_size=10,
          validate_args=True,
      )
      self.run_test_sample_consistent_mean_variance(
          self.evaluate, pln, rtol=0.1, atol=0.01
      )
  
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 6 for calling the _PoissonLogNormalQuadratureCompoundTest obj's underlying member method code with example usage: obj.testMeanVarianceBroadcastBoth() without return types