rameau.core.Model.to_toml

Model.to_toml(path, tree=None)[source]

Dump the model to a TOML file.

Parameters:
  • path (str) – TOML file path.

  • tree (Tree, optional) – The Tree object to write in the TOML file. If None, write the Tree object associated with the tree model attribute.