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

返回

属性

适用于