code: def test(self):
      with self.test_session():
          mu = Normal(0.0, 1.0)
          qmu = Normal(tf.Variable(0.0), tf.constant(1.0))
          qmu_vec = Normal(tf.constant([0.0]), tf.constant([1.0]))
  
          check_latent_vars({mu: qmu})
          check_latent_vars({mu: tf.constant(0.0)})
          check_latent_vars({tf.constant(0.0): qmu})
          self.assertRaises(TypeError, check_latent_vars, {mu: "5"})
          self.assertRaises(TypeError, check_latent_vars, {mu: qmu_vec})
  
file_path: edward/tests/util/check_latent_vars_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from edward.models import Normal
  from edward.util import check_latent_vars
label_desc: Use image node_id 1 for calling the test_check_latent_vars_class obj's underlying member method code with example usage: obj.test() without return types