Protocol

MLWritable

A set of methods that saves a machine learning type to the file system.

Declaration

protocol MLWritable

Overview

You use MLWritable to save any MLModel instance that adopts the protocol to the file system.

Topics

Saving to a File

func write(to: URL)

Exports a machine learning file to the file system.

Required.

Relationships

Inherits From

See Also

Saving an Updated Model

var model: MLModel & MLWritable

The underlying Core ML model stored in memory.

class MLModel

An encapsulation of all the details of your machine learning model.