class_docstr: Task object for TF-Ranking.
class_docstr_tok: ["Task","object","for","TF-Ranking","."]
code: def process_metrics(self, metrics, labels, model_outputs):
      for metric in metrics:
          metric.update_state(labels, model_outputs)
  
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 6 for calling the RankingTask obj's underlying member method code with example usage: obj.process_metrics(metrics, labels, model_outputs) without return types