code: def test_shape_and_dtype(self):
      with self.test_session():
          self._test_sample(Normal, 2, loc=0.5, scale=1.0)
          self._test_sample(Normal, [2], loc=[0.5], scale=[1.0])
          self._test_sample(Poisson, 2, rate=0.5)
  
file_path: edward/tests/models/random_variable_value_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 Bernoulli, Normal, Poisson, RandomVariable
  from edward.util import copy
label_desc: Use image node_id 3 for calling the test_random_variable_value_class obj's underlying member method code with example usage: obj.test_shape_and_dtype() without return types