ray.tune.schedulers.TrialScheduler.on_trial_remove#

TrialScheduler.on_trial_remove(tune_controller: TuneController, trial: Trial)[源代码]#

调用以移除试用。

当试验处于PAUSED或PENDING状态时,会调用此方法。否则,调用 on_trial_complete