class_docstr: This prediction processor returns the index with maximum score for each
  id as the answer. Expects report to have scores and id keys.
code: def __call__(
      self, report: Type[Report], *args, **kwargs
  ) -> List[Dict[str, Any]]:
      answers = report.scores.argmax(dim=1)
      predictions = []
      for idx, item_id in enumerate(report.id):
          answer = answers[idx]
          predictions.append(
              {
                  self._id_key: item_id.item(),
                  self._result_key: answer.item(),
              }
          )
      return predictions
  
file_path: mmf/mmf/datasets/processors/prediction_processors.py
imports: from dataclasses import dataclass
  from typing import Any, Dict, List, Type
  from mmf.common.registry import registry
  from mmf.common.report import Report
  from mmf.datasets.processors.processors import BatchProcessor, BatchProcessorConfigType
label_desc: Use image node_id 2 for calling the ArgMaxPredictionProcessor obj's underlying member method code with example usage: obj.__call__(report) and returns: predictions