共用方式為


MLCustomModel.GetPredictions 方法

定義

取得 的預測集,套用至每個輸入。

[Foundation.Export("predictionsFromBatch:options:error:")]
public virtual CoreML.IMLBatchProvider GetPredictions (CoreML.IMLBatchProvider inputBatch, CoreML.MLPredictionOptions options, out Foundation.NSError error);
abstract member GetPredictions : CoreML.IMLBatchProvider * CoreML.MLPredictionOptions *  -> CoreML.IMLBatchProvider
override this.GetPredictions : CoreML.IMLBatchProvider * CoreML.MLPredictionOptions *  -> CoreML.IMLBatchProvider

參數

inputBatch
IMLBatchProvider
error
NSError

傳回

屬性

適用於