Share via


MLCustomModel_Extensions.GetPredictions Method

Definition

Gets the set of predictions for inputBatch, applying options to each input.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.IMLBatchProvider? GetPredictions(this CoreML.IMLCustomModel This, CoreML.IMLBatchProvider inputBatch, CoreML.MLPredictionOptions options, out Foundation.NSError error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPredictions : CoreML.IMLCustomModel * CoreML.IMLBatchProvider * CoreML.MLPredictionOptions * NSError -> CoreML.IMLBatchProvider

Parameters

inputBatch
IMLBatchProvider
error
NSError

Returns

Attributes

Applies to