BNNSDataLayoutImageCHW
A constant that represents a 3D image stack.
Declaration
var BNNSDataLayoutImageCHW: BNNSDataLayout { get }Discussion
The value (x, y, channel) is at index x * stride[0] + y * stride[1] + channel * stride[2].
size[0]is the image width in pixels.size[1]is the image height in pixels.size[2]is the number of channels.