Edit

Share via


MLModel.GetPredictions(IMLBatchProvider, MLPredictionOptions, NSError) Method

Definition

Gets the IMLBatchProvider describing the outputs for the and .

[Foundation.Export("predictionsFromBatch:options:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
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

Parameters

inputBatch
IMLBatchProvider
error
NSError

Returns

Attributes

Applies to