Spatial Dropout Layer
Libraries:
Deep Learning Toolbox /
Deep Learning Layers /
Utility Layers
Description
The Spatial Dropout Layer block represents a spatial dropout layer in a deep learning network. At training time, a spatial dropout layer randomly selects input channels with a given probability, and sets all its elements to zero during training. At prediction time, the output of a spatial dropout layer is equal to its input.
The exportNetworkToSimulink function generates this block to represent a spatialDropoutLayer
object. Because deep learning layer blocks can be used only for prediction, this block has no
effect.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2026a