Zaremba et al. found that dropout works for LSTMs only when it is applied to the non-recurrent connections, between layers and before the output. Applying it to the recurrent state erases memory too fast.
Implement nonrecurrent_dropout(h, mask, p), the inverted dropout applied to a non-recurrent activation.
Multiply by the mask and divide by one minus the drop probability.
No results yet
Run your code to check it against the examples, or submit to run every test.