Contents

MPSImageCopyToMatrix

A class that copies image data to a matrix.

Declaration

class MPSImageCopyToMatrix

Overview

This kernel copies image data to a MPSMatrix object. The image data is stored in a row of a matrix. The dataLayout 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 featureChannels in the image.

Topics

Initializers

Instance Properties

Instance Methods

See Also

Matrix Copying Operations