docstr: Two mixtures each of 3 beta distributions.
docstr_tok: ["Two","mixtures","each","of","3","beta","distributions","."]
code: def test_batch_1d_event_0d(self):
      """Two mixtures each of 3 beta distributions."""
      with self.test_session():
          probs = np.array(
              [[0.2, 0.3, 0.5], [0.2, 0.3, 0.5]], np.float32
          )
          conc1 = np.array(
              [[2.0, 0.5], [1.0, 1.0], [0.5, 2.0]], np.float32
          )
          conc0 = conc1 + 2.0
  
          self._test(
              [],
              probs,
              {"concentration1": conc1, "concentration0": conc0},
              Beta,
          )
          self._test(
              [5],
              probs,
              {"concentration1": conc1, "concentration0": conc0},
              Beta,
          )
  
          probs = np.array([0.2, 0.3, 0.5], np.float32)
          self.assertRaises(
              ValueError,
              self._test,
              [],
              probs,
              {"concentration1": conc1, "concentration0": conc0},
              Beta,
          )
  
file_path: edward/tests/models/param_mixture_sample_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import edward
  import numpy
  import tensorflow
  from edward.models import Beta, Dirichlet, Normal, ParamMixture
label_desc: Use image node_id 4 for calling the test_param_mixture_sample_class obj's underlying member method code with example usage: obj.test_batch_1d_event_0d() without return types