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

CustomLayer 4

Indicates an error relating to a custom layer.

CustomModel 5
FeatureType 1

Indicates an error relating to some incompatibility of an MLFeatureType.

Generic 0

A non-specific generic error.

IO 3

Indicates an I/O error.

Applies to