Share via


MLModel.GetPredictionAsync Method

Definition

Overloads

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

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

Returns

Attributes

Applies to