MLModelErrorExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |