MLModel.GetPredictions(IMLBatchProvider, MLPredictionOptions, NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- options
- MLPredictionOptions
- error
- NSError
Returns
- Attributes