write(toFile:metadata:)
Exports the text classifier as a Core ML model file at the specified file path.
Declaration
func write(toFile path: String, metadata: MLModelMetadata? = nil) throwsParameters
- path:
A file system path where the model file should be written.
- metadata:
Descriptive information to include with the exported model file.