MLModel.GetPredictionAsync 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 |
|---|---|
| GetPredictionAsync(IMLFeatureProvider) | |
| GetPredictionAsync(IMLFeatureProvider, MLPredictionOptions) |
GetPredictionAsync(IMLFeatureProvider)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CoreML.IMLFeatureProvider> GetPredictionAsync(CoreML.IMLFeatureProvider input);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPredictionAsync : CoreML.IMLFeatureProvider -> System.Threading.Tasks.Task<CoreML.IMLFeatureProvider>
override this.GetPredictionAsync : CoreML.IMLFeatureProvider -> System.Threading.Tasks.Task<CoreML.IMLFeatureProvider>
Parameters
- input
- IMLFeatureProvider
Returns
- Attributes
Applies to
GetPredictionAsync(IMLFeatureProvider, MLPredictionOptions)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CoreML.IMLFeatureProvider> GetPredictionAsync(CoreML.IMLFeatureProvider input, CoreML.MLPredictionOptions options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPredictionAsync : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions -> System.Threading.Tasks.Task<CoreML.IMLFeatureProvider>
override this.GetPredictionAsync : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions -> System.Threading.Tasks.Task<CoreML.IMLFeatureProvider>
Parameters
- input
- IMLFeatureProvider
- options
- MLPredictionOptions
Returns
- Attributes