nip.model_cache.cached_models_exist#
- nip.model_cache.cached_models_exist(hyper_params: HyperParameters | dict, subdir: str) bool [source]#
Check whether cached models exist with the given parameters.
- Parameters:
hyper_params (HyperParameters | dict) – The parameters which specify the models.
subdir (str) – The subdirectory in which to look for the saved models.
- Returns:
bool – Whether a cached model exists with the given parameters.