code: def test_1d(self):
      with self.test_session():
          self._test(tf.zeros([1]) + 0.5, [1])
          self._test(tf.zeros([1]) + 0.5, [5])
          self._test(tf.zeros([5]) + 0.5, [1])
          self._test(tf.zeros([5]) + 0.5, [5])
  
file_path: edward/tests/models/bernoulli_log_prob_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from edward.models import Bernoulli
  from tensorflow.contrib import distributions
label_desc: Use image node_id 2 for calling the test_bernoulli_log_prob_class obj's underlying member method code with example usage: obj.test_1d() without return types