on_trial_result#
- TrialScheduler.on_trial_result(tune_controller: TuneController, trial: Trial, result: Dict) str[source]#
Called on each intermediate result returned by a trial.
At this point, the trial scheduler can make a decision by returning one of CONTINUE, PAUSE, and STOP. This will only be called when the trial is in the RUNNING state.
- Parameters:
- Returns:
TrialScheduler.CONTINUE,TrialScheduler.PAUSE, orTrialScheduler.STOP. A scheduler that has already changed the trial’s state itself returnsTrialScheduler.NOOP.- Return type:
The scheduling decision for the trial