View source on GitHub
|
A parameter dictionary class which supports the nest structure.
Classes
class ParamsDict: A hyperparameter container class.
Functions
nested_csv_str_to_json_str(...): Converts a nested (using '.') comma-separated k=v string to a JSON string.
override_params_dict(...): Override a given ParamsDict using a dict, JSON/YAML/CSV string or YAML file.
read_yaml_to_params_dict(...): Reads a YAML file to a ParamsDict.
save_params_dict_to_yaml(...): Saves the input ParamsDict to a YAML file.
View source on GitHub