code: def test_noisy_cumsum_and_state_update(
      self, records, value_generator
  ):
      num_trials, vector_size = 10, 100
      record_specs = tf.TensorSpec([vector_size])
      records = [tf.constant(r, shape=[vector_size]) for r in records]
      noised_sums = []
      for i in range(num_trials):
          query = tree_aggregation_query.TreeCumulativeSumQuery(
              clip_fn=_get_l2_clip_fn(),
              clip_value=10.0,
              noise_generator=value_generator(record_specs, seed=i),
              record_specs=record_specs,
          )
          query_result, _ = test_utils.run_query(query, records)
          noised_sums.append(query_result.numpy())
      result_stddev = np.std(noised_sums)
      self.assertNear(result_stddev, NOISE_STD, 0.7)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import test_utils
  from tensorflow_privacy.privacy.dp_query import tree_aggregation
  from tensorflow_privacy.privacy.dp_query import tree_aggregation_query
label_desc: Use image node_id 9 for calling the TreeCumulativeSumQueryTest obj's underlying member method code with example usage: obj.test_noisy_cumsum_and_state_update(records, value_generator) without return types