mindchemistry.utils.load_yaml_config

View Source On Gitee
mindchemistry.utils.load_yaml_config(file_path)[source]

Load a YAML configuration file.

Parameters

file_path (str) – The path of yaml configuration file.

Returns

Dict. The configuration information in dict format.

Supported Platforms:

Ascend CPU GPU

Examples

>>> from mindchemistry.utils import load_yaml_config
>>> config_file_path = 'xxx'    # 'xxx' is the file_path
>>> configs = load_yaml_config(config_file_path)