code: def test_local_capture(self):
      def f():
          x = tf.constant(0)
  
          def g():
              return tf.func.experimental.capture(lambda: x)
  
          return g()
  
      tf_f = tf.function(f)
      x = tf.constant(100)  # pylint: disable=unused-variable
      # a = f()
      a = 100
      b = tf_f()
      self.assertEqual(a, b)
      x = tf.constant(200)
      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 5 for calling the SideInputsTest obj's underlying member method code with example usage: obj.test_local_capture() and returns: g, tf