code: def test_no_privacy_weighted_average(self):
      record1 = tf.constant([4.0, 0.0])
      record2 = tf.constant([-1.0, 1.0])
  
      weights = [1, 3]
  
      query = no_privacy_query.NoPrivacyAverageQuery()
      query_result, _ = test_utils.run_query(
          query, [record1, record2], weights=weights
      )
      expected = [0.25, 0.75]
      self.assertAllClose(query_result, expected)
  
file_path: privacy/tensorflow_privacy/privacy/dp_query/no_privacy_query_test.py
imports: from absl.testing import parameterized
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import no_privacy_query
  from tensorflow_privacy.privacy.dp_query import test_utils
label_desc: Use image node_id 3 for calling the NoPrivacyQueryTest obj's underlying member method code with example usage: obj.test_no_privacy_weighted_average() without return types