Sets the dropout mask to be applied to the weights between layer i and i+1, for 0 < i < numLayers. For i = 0, sets the dropout mask for the input layer, which will be applied to the initiali input data.
setDropoutMask(darch, i) <- value# S4 method for DArch
setDropoutMask(darch, i) <- value
A instance of the class DArch
.
Layer index or 0 for input layer.
Dropout mask for the given layer.
The darch with the updated dropout mask