code: def test_partial_sum_scalar_no_noise(
      self, streaming_scalars, clip_norm, partial_sum
  ):
      query = tree_aggregation_query.TreeCumulativeSumQuery(
          clip_fn=_get_l2_clip_fn(),
          clip_value=clip_norm,
          noise_generator=lambda: 0.0,
          record_specs=tf.TensorSpec([]),
      )
      global_state = query.initial_global_state()
      params = query.derive_sample_params(global_state)
      for scalar, expected_sum in zip(streaming_scalars, partial_sum):
          sample_state = query.initial_sample_state(scalar)
          sample_state = query.accumulate_record(
              params, sample_state, scalar
          )
          query_result, global_state, _ = query.get_noised_result(
              sample_state, global_state
          )
          self.assertEqual(query_result, expected_sum)
  
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 10 for calling the TreeCumulativeSumQueryTest obj's underlying member method code with example usage: obj.test_partial_sum_scalar_no_noise(streaming_scalars, clip_norm, partial_sum) without return types