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 betweenpoints_to_evaluate
andparameter_names
will not be validated.