Dropout Layer
R2026bLibraries:
Deep Learning Toolbox /
Deep Learning Layers /
Utility Layers
Description
The Dropout Layer block represents a dropout layer in a deep learning network. At training time, a dropout layer randomly sets input elements to zero with a given probability. At prediction time, the output of a dropout layer is equal to its input.
The exportNetworkToSimulink function generates this block to represent a dropoutLayer object.
Because deep learning layer blocks can be used only for prediction, this block has no
effect.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"dlutilitylib/Dropout Layer"
Example: add_block("dlutilitylib/Dropout Layer","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2024b


