Instance Method

write(to:metadata:)

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

Declaration

func write(to fileURL: URL, metadata: MLModelMetadata? = nil) throws

Parameters

fileURL

The location in the file system to which the file should be written.

metadata

Descriptive information to include with the exported model file.

See Also

Saving a Word Tagger

func write(toFile: String, metadata: MLModelMetadata?)

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