Contents:
Export hyperparameter dictionary as a yaml file.
hparams (dict) – hyperparameter dict to export
filename (str, optional) – filename to save hparams as; if None, filename is constructed from hparams