spaceToDepthLayer
Description
A space to depth layer permutes the spatial blocks of the input into the depth dimension. Use this layer when you need to combine feature maps of different size without discarding any feature data.
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].
This object requires Deep Learning Toolbox™.
Creation
Description
Properties
Examples
Extended Capabilities
Version History
Introduced in R2020bSee Also
roiMaxPooling2dLayer
(Computer Vision Toolbox) | yolov2Layers
(Computer Vision Toolbox) | DepthToSpace2DLayer
| depthToSpace
| spaceToDepth
Topics
- Getting Started with Object Detection Using Deep Learning (Computer Vision Toolbox)
- Getting Started with YOLO v2 (Computer Vision Toolbox)
- List of Deep Learning Layers (Deep Learning Toolbox)
- Deep Learning in MATLAB (Deep Learning Toolbox)