spaceToDepth
Description
rearranges spatial blocks of the formatted Y = spaceToDepth(X,blockSize)dlarray object,
X, along the depth dimension. The blocks of data have size
blockSize.
Given an input feature map of size [H
W
C] and blocks of size [height
width], the output feature map size is
[floor(H/height)
floor(W/width)
C*height*width].
rearranges spatial blocks of the unformatted Y = spaceToDepth(X,blockSize,'DataFormat',dataFormat)dlarray object,
X, along the depth dimension. dataFormat
specifies the dimension labels.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a