def METHOD_NAME(self, outputs):
    result, _, _ = shared_epoch_end(
        outputs, is_validation=True, epoch=self.current_epoch,
        transformer=self.transformer)
    for key, value in result.items():
        self.log(key, value)
    return super().METHOD_NAME(outputs)