What is the difference between the Dropout
layer and the dropout
and recurrent_droput
parameters in keras? Do they all serve the same purpose?
Example:
model.add(Dropout(0.2)) # layer
model.add(LSTM(100, dropout=0.2, recurrent_dropout=0.2)) # parameters