def METHOD_NAME(self, report, model, *args, **kwargs):
    if "execute_on_master_only" in kwargs:
        warnings.warn(
            "'execute_on_master_only keyword is deprecated and isn't used anymore",
            DeprecationWarning,
        )
    self._check_current_dataloader()
    for key in self.candidate_fields:
        report = self.reshape_and_gather(report, key)
    results = []
    if hasattr(self.current_dataset, "format_for_prediction"):
        results = self.current_dataset.format_for_prediction(report)
    if hasattr(model, "format_for_prediction"):
        results = model.format_for_prediction(results, report)
    elif hasattr(model.module, "format_for_prediction"):
        results = model.module.format_for_prediction(results, report)
    self.report = self.report + results