code: def test_concentration_0d_base_1d(self):
      with self.test_session():
          self._test(
              [1], 0.5, Normal(loc=tf.zeros(3), scale=tf.ones(3))
          )
          self._test(
              [5],
              tf.constant(0.5),
              Normal(loc=tf.zeros(3), scale=tf.ones(3)),
          )
  
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 4 for calling the test_dirichletprocess_sample_class obj's underlying member method code with example usage: obj.test_concentration_0d_base_1d() without return types