Learn R Programming

darch (version 0.12.0)

getDropoutMask: Returns the dropout mask for the given layer

Description

The dropout mask is applied to the weights between layer i and i+1, for 0 < i < numLayers. For i = 0, the dropout mask for the input layer is returned, which will be applied to the initial input data.

Usage

getDropoutMask(darch, i)

Arguments

darch

A instance of the class '>DArch.

i

Layer index or 0 for input dropout mask.

Value

Dropout mask for the given layer.

See Also

'>DArch