code: def return_dependent_on_local(c):
      t = tf.constant(1)
      if c:
          return t
      t = tf.stack([t, t])
      return tf.reduce_sum(t)
  
imports: import itertools
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 2 for calling a global function with example usage: return_dependent_on_local(c) and returns: tf, t