code: def test_dynamic_list_append(self):
      l = []
      l = tl.dynamic_list_append(l, 1)
      self.assertListEqual(l, [1])
  
      l = list_ops.empty_tensor_list(self._shape(()), dtypes.int32)
      l = tl.dynamic_list_append(l, 1)
      s = list_ops.tensor_list_stack(l, element_dtype=dtypes.int32)
      self.assertAllEqual(s, [1])
  
      l = tensor_array_ops.TensorArray(
          dtypes.int32, size=0, dynamic_size=True
      )
      l = tl.dynamic_list_append(l, 1)
      s = l.stack()
      self.assertAllEqual(s, [1])
  
      l = tl.TensorList(self._shape(()), dtypes.int32)
      l = tl.dynamic_list_append(l, 1)
      self.assertAllEqual(l[0], 1)
  
file_path: tensorflow/tensorflow/python/autograph/utils/tensor_list_test.py
imports: from tensorflow.python.autograph.utils import tensor_list
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework.constant_op import constant
  from tensorflow.python.ops import list_ops
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the TensorListTest obj's underlying member method code with example usage: obj.test_dynamic_list_append() without return types