Edit

Share via


IMLCustomModel.GetPrediction Method

Definition

Returns the model's prediction for , given the .

[Foundation.Export("predictionFromFeatures:options:error:")]
[Foundation.Preserve(Conditional=true)]
public CoreML.IMLFeatureProvider GetPrediction (CoreML.IMLFeatureProvider inputFeatures, CoreML.MLPredictionOptions options, out Foundation.NSError error);
abstract member GetPrediction : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions *  -> CoreML.IMLFeatureProvider

Parameters

inputFeatures
IMLFeatureProvider
error
NSError

Returns

Attributes

Applies to