src/transformers/trainer_utils.py/EvalPrediction/__iter__
class EvalPrediction:    def __iter__(self):
        if self.inputs is not None:
            return iter((self.predictions, self.label_ids, self.inputs))
        else:
            return iter((self.predictions, self.label_ids))