Share via


MLModelErrorExtensions Class

Definition

Extension methods for the MLModelError enumeration.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static class MLModelErrorExtensions
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
type MLModelErrorExtensions = class
Inheritance
MLModelErrorExtensions
Attributes

Remarks

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

Methods

Name Description
GetDomain(MLModelError)

Returns the error domain associated with the CoreML.MLModelError value

Applies to