cerebras.modelzoo.config_manager.config_loader#
Utility to load the config from yaml or .py config file
Functions
Config classes package optimizer related params in a sub dict. |
|
Config classes package sparsity related params in a sub dict. |
|
Read the config class file and returns a config object |
|
Get the config object after reading input yaml. |
|
Perform config mapping and validation :param config: The config class object :param config_class: The clas the config belongs to :param params_conf: Dictionary of params |
|
Read the config class file and call the config generator function to get config object |
|
Load the config class and run validation check on the config based on parameter constraints :param params_conf: The config params passed as a dict :param model_name: The model key name used by config map to check what class of config to use |