export_hparams

daart.io.export_hparams(hparams: dict, filename: str | None = None) None[source]

Export hyperparameter dictionary as a yaml file.

Parameters:
  • hparams (dict) – hyperparameter dict to export

  • filename (str, optional) – filename to save hparams as; if None, filename is constructed from hparams