class_docstr: Linear layer with dropout.
code: def __init__(self, in_dim, out_dim, dropout):
      super(LinearWrapper, self).__init__()
      self.lin = nn.Linear(in_dim, out_dim)
      self.dp = nn.Dropout(dropout)
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  import torch
  from torch import nn
  from torch import optim
  from parlai.agents.transformer.modules import TransformerEncoder
  from parlai.agents.transformer import transformer
  from parlai.utils.io import PathManager
label_desc: Use image node_id 1 to create a new LinearWrapper object from inherited base classes: nn with example: obj = LinearWrapper(in_dim, out_dim, dropout)