class_docstr: Task object for TF-Ranking.
class_docstr_tok: ["Task","object","for","TF-Ranking","."]
code: def build_inputs(self, params, input_context=None):
      ranking_dataloader = RankingDataLoader(
          params,
          context_feature_spec=self._context_feature_spec,
          example_feature_spec=self._example_feature_spec,
          label_spec=self._label_spec,
          dataset_fn=self._dataset_fn,
      )
      return ranking_dataloader.load(input_context)
  
imports: import dataclasses
  from typing import Callable, Dict, Mapping, Optional, Tuple, Union
  import tensorflow
  from tensorflow_ranking.python import data
  from tensorflow_ranking.python.keras import losses
  from tensorflow_ranking.python.keras import metrics
  from tensorflow_ranking.python.keras import model
label_desc: Use image node_id 3 for calling the RankingTask obj's underlying member method code with example usage: obj.build_inputs(params, input_context) and returns: ranking_dataloader