()
| 531 | |
| 532 | def _construct_job(self): |
| 533 | def job(): |
| 534 | batch = self._cfg.data(0, 0) |
| 535 | return self._model.validation_step(batch) |
| 536 | |
| 537 | job.__name__ = self._model.__class__.__name__ + "_Model_eval_job" |
| 538 | deco # = api_oneflow_function(type="predict", function_config=self._cfg.exe_cfg) |
nothing calls this directly
no test coverage detected