Type Property


An error related to updating a model.


static var update: MLModelError.Code { get }

See Also

Error Codes

static var featureType: MLModelError.Code

A type mismatch or other type-based error.

static var customLayer: MLModelError.Code

An error related to a custom layer in your model.

static var customModel: MLModelError.Code

An error related to a custom model.

static var generic: MLModelError.Code

A fallback, generic error.

enum MLModelError.Code

The different types of errors for the model.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software