code: def test_make_input_fn(self, loss_key):
      batch_size = 1
  
      pip = self._create_pipeline(loss_key)
      ds = pip._make_input_fn(
          input_pattern=self._data_file,
          batch_size=batch_size,
          list_size=5,
          randomize_input=False,
      )()
      features, labels = tf.compat.v1.data.make_one_shot_iterator(
          ds
      ).get_next()
  
      self.assertCountEqual(features.keys(), ["c1", "f1", "f2", "f3"])
      self.assertAllEqual(
          labels,
          tf.tile(
              tf.constant([[0.0, 1.0, -1.0, -1.0, -1.0]]),
              [batch_size, 1],
          ),
      )
  
imports: import os
  from absl.testing import parameterized
  import tensorflow
  from tensorflow import estimator
  import tensorflow_ranking
  from google.protobuf import text_format
  from tensorflow_ranking.extension import pipeline
  from tensorflow_serving.apis import input_pb2
label_desc: Use image node_id 4 for calling the RankingPipelineTest obj's underlying member method code with example usage: obj.test_make_input_fn(loss_key) without return types