ray.tune.schedulers.TrialScheduler.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.