ray.tune.utils.util.validate_warmstart#

ray.tune.utils.util.validate_warmstart(parameter_names: List[str], points_to_evaluate: List[List | Dict], evaluated_rewards: List, validate_point_name_lengths: bool = True)[source]#

Generic validation of a Searcher’s warm start functionality. Raises exceptions in case of type and length mismatches between parameters.

If validate_point_name_lengths is False, the equality of lengths between points_to_evaluate and parameter_names will not be validated.