編輯

共用方式為


MLCustomModel.GetPrediction Method

Definition

Gets the most likely prediction for and .

[Foundation.Export("predictionFromFeatures:options:error:")]
public abstract 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

Implements

Attributes

Applies to