Skip to main content

save

Function save 

Source
pub fn save<M: Serialize>(
    model: &M,
    model_type: ModelType,
    path: impl AsRef<Path>,
    options: SaveOptions,
) -> Result<()>
Expand description

Save a model to .apr (v1 APRN) format.

§Errors

Returns an error on I/O failure, serialization error, or a refused quality gate.