ray.tune.Callback.on_trial_complete#

Callback.on_trial_complete(iteration: int, trials: List[Trial], trial: Trial, **info)[source]#

Called after a trial instance completed.

The search algorithm and scheduler are notified before this hook is called.

Parameters:
  • iteration – Number of iterations of the tuning loop.

  • trials – List of trials.

  • trial – Trial that just has been completed.

  • **info – Kwargs dict for forward compatibility.