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.

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.