def _test_forward(self):
    """Tests that ``Task.forward`` applied to the example input gives the expected output."""
    model = self.instantiated_task
    model.eval()
    output = model(self.example_forward_input)
    self.check_forward_output(output)
Tests that ``Task.forward`` applied to the example input gives the expected output.
tests/helpers/task_tester.py