torchsig.utils.yaml.write_dict_to_yaml¶
- torchsig.utils.yaml.write_dict_to_yaml(filename: str, info_dict: dict) None[source]¶
Writes a dictionary to a YAML file with customized settings.
This function writes the provided info_dict to a YAML file. It customizes the representation of lists by using the custom_representer, and it uses specific formatting options (e.g., no sorting of keys, custom line width).