Edit

Share via


IMLBatchProvider Interface

Definition

Interface defining the protocol for providing data in batches to the model.

[Foundation.Protocol(Name="MLBatchProvider", WrapperType=typeof(CoreML.MLBatchProviderWrapper))]
[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 interface IMLBatchProvider : IDisposable, ObjCRuntime.INativeObject
type IMLBatchProvider = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Count

The number of IMLFeatureProvider objects in the current batch.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetFeatures(nint)

Gets the IMLFeatureProvider at for the current batch.

Applies to