class_docstr: SpanLSTM model.
code: def __init__(self, NT, V, H):
      super().__init__()
      self.H = H
      self.V = V
      self.NT = NT
      self.emb = torch.nn.Embedding(V, H)
      self.lstm = torch.nn.LSTM(
          H, H, batch_first=True, bidirectional=True
      )
      self.res = Res(2 * H)
      self.proj = torch.nn.Linear(2 * H, NT)
  
file_path: pytorch-struct/examples/networks/SpanLSTM.py
imports: import torch.nn
  import torch
label_desc: Use image node_id 1 to create a new SpanLSTM object from inherited base classes: torch.nn with example: obj = SpanLSTM(NT, V, H)