code: def test_direct_capture_mutation(self):
      def f():
          cglob = tf.func.experimental.capture(lambda: glob)
          return cglob[-1] + tf.constant(0)
  
      tf_f = tf.function(f)
      glob = [tf.constant(1), tf.constant(2)]
      self.assertEqual(f(), tf_f())
      glob.append(tf.constant(3))
      self.assertEqual(f(), tf_f())
  
file_path: tensorflow/tensorflow/core/function/integration_test/side_inputs_manual_api_test.py
imports: import unittest
  from absl.testing import parameterized
  import tensorflow
label_desc: Use image node_id 2 for calling the SideInputsTest obj's underlying member method code with example usage: obj.test_direct_capture_mutation() and returns: unknown