MLModelError Enum

Definition

Enumerates errors that may occur in the use of Core ML.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MLModelError
type MLModelError = 
Inheritance
MLModelError
Attributes

Fields

Name Value Description
Generic 0

A non-specific generic error.

FeatureType 1

Indicates an error relating to some incompatibility of an MLFeatureType.

IO 3

Indicates an I/O error.

CustomLayer 4

Indicates an error relating to a custom layer.

CustomModel 5

Applies to