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))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetFeatures", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.IntPtr) }, ReturnType=typeof(CoreML.IMLFeatureProvider), Selector="featuresAtIndex:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="count", IsProperty=true, IsRequired=true, IsStatic=false, Name="Count", PropertyType=typeof(System.IntPtr), Selector="count")]
public interface IMLBatchProvider : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="MLBatchProvider", WrapperType=typeof(CoreML.MLBatchProviderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetFeatures", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.IntPtr) }, ReturnType=typeof(CoreML.IMLFeatureProvider), Selector="featuresAtIndex:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="count", IsProperty=true, IsRequired=true, IsStatic=false, Name="Count", PropertyType=typeof(System.IntPtr), Selector="count")>]
type IMLBatchProvider = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Count

The number of IMLFeatureProvider objects in the current batch.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
GetFeatures(IntPtr)

Gets the IMLFeatureProvider at index for the current batch.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to