ray.tune.Callback.on_trial_save#

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

Called after receiving a checkpoint from a trial.

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

  • trials – List of trials.

  • trial – Trial that just saved a checkpoint.

  • **info – Kwargs dict for forward compatibility.