generateDropoutMask: Dropout mask generator function.

Description Usage Arguments Value

View source: R/dropout.R

Description

This function generates droput masks as a vector of given length, according to the given dropout rate.

Usage

1

Arguments

length

length of the dropout mask

dropoutRate

The dropout rate (i.e. percentage of zeros in the mask)

Value

Matrix containing the dropout mask


maddin79/darch documentation built on May 21, 2019, 10:53 a.m.