code: def test_read_captured_variables_included(self):
      with hk.variables():
          v = tf.Variable(1.0)
          s = tf.Variable(1.0, trainable=False)
  
      f = hk.transform_with_state(
          lambda: (v.read_value() + s.read_value())
      )
  
      params, state = f.init()
      self.assertEqual(params, {v.ref(): v.tensor_value})
      self.assertEqual(state, {s.ref(): s.tensor_value})
  
imports: from absl.testing import parameterized
  import sonnet
  from sonnet.src import test_utils
  from sonnet.src.functional import haiku
  import tensorflow
  import tree
label_desc: Use image node_id 8 for calling the TensorVariableTest obj's underlying member method code with example usage: obj.test_read_captured_variables_included() without return types