code: def if_else_no_vars(c, v):
      v.assign(0)
      if c:
          v.assign_add(1)
      else:
          v.assign_add(2)
      return v.read_value()
  
imports: import itertools
  import re
  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: if_else_no_vars(c, v) and returns: v