This function multiplies each row with the dropout mask. To apply the dropout mask by row, it can simply be multiplied with the data matrix. This does not work of the mask is to be applied row-wise, hence this function.
Data to which the dropout mask should be applied
The dropout mask, a vector of 0 and 1.
Data with applied dropout mask
Dropout: A Simple Way to Prevent Neural Networks from Overfitting, Nitish Srivastava
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.