fastvideo.v1.configs.utils
#
Module Contents#
Functions#
Update configuration object from arguments dictionary. |
API#
- fastvideo.v1.configs.utils.update_config_from_args(config: Any, args_dict: Dict[str, Any], prefix: str = '', pop_args: bool = False) None [source]#
Update configuration object from arguments dictionary.
- Parameters:
config – The configuration object to update
args_dict – Dictionary containing arguments
prefix – Prefix for the configuration parameters in the args_dict. If None, assumes direct attribute mapping without prefix.