depthToSpace2dLayer
Description
A 2-D depth to space layer permutes data from the depth dimension into blocks of 2-D spatial data.
Given an input feature map of size [H
W
C*
height*
width]
and blocks of size [height
width], the output feature map size is
[H*height
W*width
C].
This object requires Deep Learning Toolbox™.
Creation
Description
layer = depthToSpace2dLayer(blockSize)
creates a 2-D depth to
space layer, specifying the block size to rearrange the input activation. The
blockSize
input sets the BlockSize
property.
Properties
Examples
Extended Capabilities
Version History
Introduced in R2021a
See Also
SpaceToDepthLayer
| depthToSpace
| spaceToDepth
Topics
- List of Deep Learning Layers (Deep Learning Toolbox)
- Deep Learning in MATLAB (Deep Learning Toolbox)