code: def test_listwise_scoring(self):
      (
          context_features,
          example_features,
      ) = self._ranker._listwise_dense_layer(
          self._features, training=False
      )
      logits = network_lib.listwise_scoring(
          self._ranker.score,
          context_features=context_features,
          example_features=example_features,
          training=False,
          mask=[[True, False], [True, True]],
      )
      self.assertAllEqual(
          logits.numpy(), [[[1.0], [0.0]], [[1.0], [1.0]]]
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow.compat.v2
  from tensorflow_ranking.python.keras import network
label_desc: Use image node_id 4 for calling the UnivariateRankingNetworkTest obj's underlying member method code with example usage: obj.test_listwise_scoring() without return types