target_extraction.allen.modules package¶
Subpackages¶
Submodules¶
target_extraction.allen.modules.word_dropout module¶
-
class
target_extraction.allen.modules.word_dropout.
WordDrouput
(p)[source]¶ Bases:
torch.nn.modules.module.Module
Word Dropout will randomly drop whole words/timesteps. This is equivalent to `1D Spatial Dropout`_.