ray.tune.search.Repeater.on_trial_complete#

Repeater.on_trial_complete(trial_id: str, result: Dict | None = None, **kwargs)[source]#

Stores the score for and keeps track of a completed trial.

Stores the metric of a trial as nan if any of the following conditions are met:

  1. result is empty or not provided.

  2. result is provided but no metric was provided.