Instance Method

write(toFile:metadata:)

Exports the word tagger 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 Word Tagger

func write(to: URL, metadata: MLModelMetadata?)

Exports the word tagger as a Core ML model file at the given URL.