dropoutLayer
Description
A dropout layer randomly sets input elements to zero with a given probability.
Creation
Description
layer = dropoutLayer creates a
dropout layer.
layer = dropoutLayer(probability)
creates a dropout layer and sets the Probability property.
layer = dropoutLayer(___,'Name',Name)
sets the optional Name property using a name-value pair and any of the arguments
in the previous syntaxes. For example,
dropoutLayer(0.4,'Name','drop1') creates a dropout layer
with dropout probability 0.4 and name 'drop1'. Enclose the
property name in single quotes.
Properties
Dropout
Probability — Probability to drop out input elements
0.5 (default) | numeric scalar in the range 0 to 1
Probability for dropping out input elements, specified as