Contents

MLModelError.Code.customModel

An error code for problems related to custom models.

Declaration

case customModel

Discussion

Core ML typically throws (Swift) or returns (Objective-C) this error when the custom model has a programming mistake. For example, a custom model’s prediction method fails with this error code if Core ML can’t find the custom model’s implementation.

See Also

Error codes