code: def read_write_loop(n):
      l = []
      l.append(1)
      l.append(1)
      directives.set_element_type(l, tf.int32)
      for i in range(2, n):
          l.append(l[i - 1] + l[i - 2])
          l[i - 2] = -l[i - 2]
      return special_functions.stack(l, strict=False)
  
file_path: tensorflow-upstream/tensorflow/python/autograph/tests/basic_list_test.py
imports: import tensorflow
  from tensorflow.python.autograph.lang import directives
  from tensorflow.python.autograph.lang import special_functions
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 6 for calling a global function with example usage: read_write_loop(n) and returns: special_functions