Contents

write(toFile:metadata:)

Exports the recommender as a Core ML model file at the given file path.

Declaration

func write(toFile path: String, metadata: MLModelMetadata? = nil) throws

Parameters

  • path:

    A file system path where the model file should be written.

  • metadata:

    Descriptive information to include with the exported model file.

See Also

Saving a recommender