syne_tune.utils.config_as_json module

syne_tune.utils.config_as_json.add_config_json_to_argparse(parser)[source]

To be called for the argument parser in the endpoint script.

Parameters:

parser (ArgumentParser) – Parser to add extra arguments to

syne_tune.utils.config_as_json.load_config_json(args)[source]

Loads configuration from JSON file and returns the union with args.

Parameters:

args (Dict[str, Any]) – Arguments returned by ArgumentParser, as dictionary

Return type:

Dict[str, Any]

Returns:

Combined configuration dictionary