syne_tune.blackbox_repository.conversion_scripts.scripts.pd1_import module

syne_tune.blackbox_repository.conversion_scripts.scripts.pd1_import.convert_task(task_data)[source]
class syne_tune.blackbox_repository.conversion_scripts.scripts.pd1_import.PD1Recipe[source]

Bases: BlackboxRecipe

syne_tune.blackbox_repository.conversion_scripts.scripts.pd1_import.serialize(bb_dict, path, metadata=None)[source]
syne_tune.blackbox_repository.conversion_scripts.scripts.pd1_import.deserialize(path)[source]

Deserialize blackboxes contained in a path that were saved with serialize above. TODO: the API is currently dissonant with serialize, deserialize for BlackboxOffline as serialize is there a member. A possible way to unify is to have serialize also be a free function for BlackboxOffline. :type path: str :param path: a path that contains blackboxes that were saved with serialize :rtype: Dict[str, BlackboxTabular] :return: a dictionary from task name to blackbox