class_docstr: Implementation of word dropout.
  
  Randomly drops out entire words (or characters) in embedding space.
class_docstr_tok: ["Implementation","of","word","dropout",".","Randomly","drops","out","entire","words","(","or","characters",")","in","embedding","space","."]
code: def __init__(self, dropout_rate=0.05, inplace=False) -> None:
      super().__init__()
      self.dropout_rate = dropout_rate
      self.inplace = inplace
  
file_path: flair/flair/nn/dropout.py
imports: import torch
label_desc: Use image node_id 1 to create a new WordDropout object from inherited base classes: torch.nn with example: obj = WordDropout(dropout_rate, inplace)