code: def test_concentration_1d_base_2d(self):
      with self.test_session():
          self._test(
              [1],
              np.array([0.5]),
              Normal(loc=tf.zeros([3, 4]), scale=tf.ones([3, 4])),
          )
          self._test(
              [5],
              tf.constant([0.5]),
              Normal(loc=tf.zeros([3, 4]), scale=tf.ones([3, 4])),
          )
          self._test(
              [1],
              tf.constant([0.2, 1.5]),
              Normal(loc=tf.zeros([3, 4]), scale=tf.ones([3, 4])),
          )
          self._test(
              [5],
              tf.constant([0.2, 1.5]),
              Normal(loc=tf.zeros([3, 4]), scale=tf.ones([3, 4])),
          )
  
file_path: edward/tests/models/dirichlet_process_sample_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from edward.models import DirichletProcess, Normal
label_desc: Use image node_id 5 for calling the test_dirichletprocess_sample_class obj's underlying member method code with example usage: obj.test_concentration_1d_base_2d() without return types