---
title: MLArrayBatchProvider
framework: coreml
role: symbol
role_heading: Class
path: coreml/mlarraybatchprovider
---

# MLArrayBatchProvider

A convenience wrapper for batches of feature providers.

## Declaration

```swift
class MLArrayBatchProvider
```

## Overview

Overview This batch provider supports an array of feature providers or a dictionary of arrays of feature values.

## Topics

### Creating a batch provider

- [init(array:)](coreml/mlarraybatchprovider/init(array:).md)
- [init(dictionary:)](coreml/mlarraybatchprovider/init(dictionary:).md)

### Accessing the feature providers

- [array](coreml/mlarraybatchprovider/array.md)

### Initializers

- [init(featureProviderArray:)](coreml/mlarraybatchprovider/init(featureproviderarray:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MLBatchProvider](coreml/mlbatchprovider.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Model inputs and outputs

- [Making Predictions with a Sequence of Inputs](coreml/making-predictions-with-a-sequence-of-inputs.md)
- [MLFeatureValue](coreml/mlfeaturevalue.md)
- [MLSendableFeatureValue](coreml/mlsendablefeaturevalue.md)
- [MLFeatureProvider](coreml/mlfeatureprovider.md)
- [MLDictionaryFeatureProvider](coreml/mldictionaryfeatureprovider.md)
- [MLBatchProvider](coreml/mlbatchprovider.md)
- [MLModelAsset](coreml/mlmodelasset.md)
