setDropoutMask-set: Set the dropout mask for the given layer.

Description Usage Arguments Value See Also

Description

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.

Usage

1
setDropoutMask(darch, i) <- value

Arguments

darch

A instance of the class DArch.

i

Layer index or 0 for input layer.

value

Dropout mask for the given layer.

Value

The darch with the updated dropout mask

See Also

DArch


darch documentation built on May 29, 2017, 8:14 p.m.