Layer factory function to create a drop-out layer.

Dropout(dropout_rate = NULL, keep_prob = NULL, seed = NULL, name = "")

Arguments

name

string (optional) the name of the Function instance in the network

Details

The dropout rate can be specified as the probability of dropping a value (dropout_rate). E.g. Dropout(0.3) means “drop 30 Alternatively, it can also be specified as the probability of keeping a value (keep_prob).

The dropout operation is only applied during training. During testing, this is a no-op. To make sure that this leads to correct results, the dropout operation in training multiplies the result by (1/(1-dropout_rate)).