Dropout layer
This card is a wrapper of this Keras class.
Note: the backend for building and training neural networks is based on Keras. The documentation of this card is a variant of the documentation of its corresponding class.
Inputs
-
Rate — Float
Between 0 and 1. Fraction of the input units to drop.
-
Noise shape — List of Integer
The shape of the binary dropout mask that will be multiplied with the input. For instance, if your inputs have shape (
batch_size
,timesteps
,features
) and you want the dropout mask to be the same for all timesteps, you can use Noise shape = “batch_size
, 1,features
”. -
Seed — Integer
Random seed.
-
Input — NeuralNetworkTensor
Input of this layer.
Outputs
-
Layer instance — NeuralNetworkLayer
Instance of this layer. It can be wrapped using a Bidirectional or a TimeDistributed wrapper.
-
Output — NeuralNetworkTensor
Output of this layer.