Contents

customLayer

An error code for problems related to custom layers.

Declaration

static var customLayer: MLModelError.Code { get }

Discussion

Core ML typically throws this error when the custom layer has a programming mistake. For example, a model’s prediction method fails with this error code if Core ML can’t find the custom layer’s implementation.

See Also

Error Codes