code: def test_group_score_fn(self, loss_key):
      estimator = self._create_default_estimator(loss_key)
      logits = estimator._group_score_fn(
          {"c1": tf.ones([10, 1], dtype=tf.float32)},
          {"f1": tf.ones([10, 1, 1], dtype=tf.float32)},
          tf_estimator.ModeKeys.TRAIN,
          None,
          None,
      )
  
      self.assertAllEqual(logits, tf.ones([10, 1], dtype=tf.float32))
  
imports: import os
  from absl.testing import parameterized
  import six
  import tensorflow
  from tensorflow import estimator
  from google.protobuf import text_format
  from tensorflow_ranking.python import data
  from tensorflow_ranking.python import estimator
  from tensorflow_ranking.python import feature
  from tensorflow_serving.apis import input_pb2
label_desc: Use image node_id 8 for calling the EstimatorBuilderTest obj's underlying member method code with example usage: obj.test_group_score_fn(loss_key) without return types