def METHOD_NAME(self, outputs):
    loss = [out[0] for out in outputs]
    self.log("val_loss", torch.stack(loss).mean(), prog_bar=True)
    acc = [out[1] for out in outputs]
    self.log("val_acc", torch.stack(acc).mean(), prog_bar=True)