Enumeration

MLModelError.Code

The different types of errors for the model.

Declaration

enum MLModelError.Code : Int, _ErrorCodeProtocol

Topics

Enumeration Cases

case io

An I/O error.

case featureType

A feature type error.

case customLayer

A custom layer error.

case customModel

A custom model error.

case update

A model update error.

Beta
case generic

A generic error.

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.

static var update: MLModelError.Code

An error related to updating a model.

Beta

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