MLComputePlan.Load Method
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.
Overloads
| Name | Description |
|---|---|
| Load(MLModelAsset, MLModelConfiguration, Action<MLComputePlan,NSError>) | |
| Load(NSUrl, MLModelConfiguration, Action<MLComputePlan,NSError>) |
Load(MLModelAsset, MLModelConfiguration, Action<MLComputePlan,NSError>)
[Foundation.Export("loadModelAsset:configuration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Load(CoreML.MLModelAsset modelAsset, CoreML.MLModelConfiguration configuration, Action<CoreML.MLComputePlan,Foundation.NSError> handler);
[<Foundation.Export("loadModelAsset:configuration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Load : CoreML.MLModelAsset * CoreML.MLModelConfiguration * Action<CoreML.MLComputePlan, Foundation.NSError> -> unit
Parameters
- modelAsset
- MLModelAsset
- configuration
- MLModelConfiguration
- handler
- Action<MLComputePlan,NSError>
- Attributes
Applies to
Load(NSUrl, MLModelConfiguration, Action<MLComputePlan,NSError>)
[Foundation.Export("loadContentsOfURL:configuration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Load(Foundation.NSUrl contentsUrl, CoreML.MLModelConfiguration configuration, Action<CoreML.MLComputePlan,Foundation.NSError> handler);
[<Foundation.Export("loadContentsOfURL:configuration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Load : Foundation.NSUrl * CoreML.MLModelConfiguration * Action<CoreML.MLComputePlan, Foundation.NSError> -> unit
Parameters
- contentsUrl
- NSUrl
- configuration
- MLModelConfiguration
- handler
- Action<MLComputePlan,NSError>
- Attributes