Platforms to show: All Mac Windows Linux Cross-Platform
MLBatchProviderMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Similar to the MLFeatureProviderMBS, this interface allows you to define your own batch provider. If you collect your data asynchronously or it is memory intensive, implement this protocol on your data structure to optimize performance with batch processing.
Available on MacOS 10.14 or newer.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 2 properties
- 2 methods
- method Constructor Private
- method featuresAtIndex(index as Integer) as MLFeatureProviderMBS
Sub classes:
Some methods using this class:
- MLModelMBS.predictionsFromBatch(inputBatch as MLBatchProviderMBS, byref error as NSErrorMBS) as MLBatchProviderMBS
- MLModelMBS.predictionsFromBatch(inputBatch as MLBatchProviderMBS, options as MLPredictionOptionsMBS, byref error as NSErrorMBS) as MLBatchProviderMBS
Blog Entries
Release notes
- Version 20.0
- Added MLTaskMBS, MLBatchProviderMBS, MLParameterKeyMBS, MLUpdateTaskMBS, MLModelConfigurationMBS, MLArrayBatchProviderMBS, MLUpdateContextMBS, MLMetricKeyMBS, MLMultiArrayShapeConstraintMBS, MLUpdateProgressHandlersMBS, MLParameterDescriptionMBS, MLNumericConstraintMBS, MLKeyMBS, MLImageSizeMBS, MLImageSizeConstraintMBS, MLSequenceConstraintMBS, and MLSequenceMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
MLArrayBatchProviderMBS - MLDictionaryConstraintMBS