def eval_epoch(self, **kwargs):
        """Evaluation loop over the current `self.dataloader`."""
        for self.mbatch in self.dataloader:
            self._unpack_minibatch()
            trigger_plugins(self, "before_eval_iteration")

            trigger_plugins(self, "before_eval_forward")
            self.mb_output = self.forward()
            trigger_plugins(self, "after_eval_forward")
            self.loss = self.criterion()
            trigger_plugins(self, "after_eval_iteration")
Evaluation loop over the current `self.dataloader`.
tests/training/test_supervised_regression.py