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 __init__(
      self, config: ArgMaxPredictionProcessorConfig, *args, **kwargs
  ):
      super().__init__(config, *args, **kwargs)
      self._id_key = config.get("id_key", "id")
      self._result_key = config.get("result_key", "answer")
  
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 1 to create a new ArgMaxPredictionProcessor object from inherited base classes: BatchProcessor with example: obj = ArgMaxPredictionProcessor(config)