A multidimensional array used as a feature input or feature output for a model.
- iOS 11.0+
- macOS 10.13+
- tvOS 11.0+
- watchOS 4.0+
- Core ML
Multidimensional arrays are commonly used to represent input and output data. Often, each dimension of a multidimensional array has an associated label or meaning. For example, Core ML neural network models use a C x H x W layout for images, where C is the number of channels, H is the height of the image, and W is the width.
MLMulti instance of a specific shape and data type is expected as input for a Core ML model, the specifications are defined in an
MLMulti instance associated with the feature's
All features with type
MLFeature must be provided as an