IMLBatchProvider Interface
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.
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 <param name="index" /> for the current batch. |