共用方式為


IMLCustomModel.GetPrediction 方法

定義

根據 ,傳回 模型的預測。

[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

參數

inputFeatures
IMLFeatureProvider
error
NSError

傳回

屬性

適用於