code: def test_control_flow(self):
      with self.test_session():
          a = Bernoulli(0.5)
          b = Normal(0.0, 1.0)
          c = tf.constant(0.0)
          d = tf.cond(tf.cast(a, tf.bool), lambda: b, lambda: c)
          e = Normal(d, 1.0)
          self.assertEqual(get_children(a), [e])
          self.assertEqual(get_children(b), [e])
          self.assertEqual(get_children(c), [e])
          self.assertEqual(get_children(d), [e])
          self.assertEqual(get_children(e), [])
  
file_path: edward/tests/util/get_children_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_children
label_desc: Use image node_id 5 for calling the test_get_children_class obj's underlying member method code with example usage: obj.test_control_flow() without return types