code: def test_complex_nested_query(self):
      query_ab = gaussian_query.GaussianSumQuery(
          l2_norm_clip=1.0, stddev=0.0
      )
      query_c = normalized_query.NormalizedQuery(
          gaussian_query.GaussianSumQuery(
              l2_norm_clip=10.0, stddev=0.0
          ),
          denominator=2.0,
      )
      query_d = gaussian_query.GaussianSumQuery(
          l2_norm_clip=10.0, stddev=0.0
      )
  
      query = nested_query.NestedSumQuery(
          [query_ab, {"c": query_c, "d": [query_d]}]
      )
  
      record1 = [
          {"a": 0.0, "b": 2.71828},
          {"c": (-4.0, 6.0), "d": [-4.0]},
      ]
      record2 = [
          {"a": 3.14159, "b": 0.0},
          {"c": (6.0, -4.0), "d": [5.0]},
      ]
  
      query_result, _ = test_utils.run_query(query, [record1, record2])
      expected = [{"a": 1.0, "b": 1.0}, {"c": (1.0, 1.0), "d": [1.0]}]
      self.assertAllClose(query_result, expected)
  
file_path: privacy/tensorflow_privacy/privacy/dp_query/nested_query_test.py
imports: import collections
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import dp_query
  from tensorflow_privacy.privacy.dp_query import gaussian_query
  from tensorflow_privacy.privacy.dp_query import nested_query
  from tensorflow_privacy.privacy.dp_query import normalized_query
  from tensorflow_privacy.privacy.dp_query import test_utils
label_desc: Use image node_id 3 for calling the NestedQueryTest obj's underlying member method code with example usage: obj.test_complex_nested_query() without return types