add(layer=’dropout’)#

Net.add(layer, options)

Dropout layer that randomly sets the output of the previous layer to zero with a specified probability.

See also

For documentation for the rest of the parameters, see Net.add

Options:
drop_ratefloat

The probability of setting a given output value to zero.