gpytorchwrapper.src.config.config_reader
Functions
|
Read the input file and return a dictionary with the specifications. |
- gpytorchwrapper.src.config.config_reader.read_yaml(input_path: Path | str) Config [source]
Read the input file and return a dictionary with the specifications.
- Parameters:
input_path (pathlib.Path or str) – Path to the input file
- Returns:
input_dict – Dictionary containing the specifications for running the program
- Return type:
- Raises:
TypeError – If the input_path variable is not of Path type
FileNotFoundError – If the file does not exist
NotImplementedError – If the file structure of the YAML file is incorrect