A class that copies image data to a matrix.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- Metal Performance Shaders
This kernel copies image data to a
MPSMatrix object. The image data is stored in a row of a matrix. The
data specifies the order in which the feature channels in the image get stored in the matrix. If the
MPSImage stores a batch of images, the images are copied into multiple rows, one row per image.
The number of elements in a row in the matrix must be greater than the image width multiplied its height multiplied by the number of
feature in the image.