code: def for_with_variable_shape_growing_matrix_rows(l):
      m = tf.constant([[0]])
      for i in l:
          tf.autograph.experimental.set_loop_options(
              shape_invariants=[(m, tf.TensorShape([None, 1]))]
          )
          m = tf.concat((m, [[i]]), 0)
      return m
  
imports: import collections
  import itertools
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 4 for calling a global function with example usage: for_with_variable_shape_growing_matrix_rows(l) and returns: m