code: def for_with_composite_tensor_shape_invariant(l):
      v = tf.SparseTensor(
          indices=[[0, 0], [1, 1]], values=[1, 2], dense_shape=[3, 3]
      )
      for _ in l:
          tf.autograph.experimental.set_loop_options(
              shape_invariants=[(v, tf.TensorShape(None))]
          )
          v = tf.sparse.expand_dims(v)
      return v
  
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 15 for calling a global function with example usage: for_with_composite_tensor_shape_invariant(l) and returns: v