Reputation: 2668
Keras implements dropout as a layer (just like Dense or Conv2D). Any layer has the trainable property that can be set to false if you want to freeze the weights. What does it mean for the dropout layer to be trainable, since there are no weights involved here?
Upvotes: 2
Views: 1277
Reputation: 86600
When the layer has no weights, the trainable parameter is irrelevant.
In Keras, the trainable parameters just defines if the weights are going to be constant or not.
Upvotes: 3