Edit

Share via


MLModelErrorExtensions Class

Definition

Extension methods for the CoreML.MLModelError enumeration.

[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 static class MLModelErrorExtensions
type MLModelErrorExtensions = class
Inheritance
MLModelErrorExtensions
Attributes

Remarks

The extension method for the CoreML.MLModelError enumeration can be used to fetch the error domain associated with these error codes.

Methods

GetDomain(MLModelError)

Returns the error domain associated with the CoreML.MLModelError value

Applies to