code: def test_tensor(self):
      with self.test_session():
          a = Normal(0.0, 1.0)
          b = tf.constant(2.0)
          c = a + b
          d = Normal(c, 1.0)
          self.assertEqual(get_parents(a), [])
          self.assertEqual(get_parents(b), [])
          self.assertEqual(get_parents(c), [a])
          self.assertEqual(get_parents(d), [a])
  
file_path: edward/tests/util/get_parents_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from edward.models import Bernoulli, Normal
  from edward.util import get_parents
label_desc: Use image node_id 4 for calling the test_get_parents_class obj's underlying member method code with example usage: obj.test_tensor() without return types