class_docstr: bidirectionalRNN
class_docstr_tok: ["bidirectionalRNN"]
code: def __init__(self, inputRNN, num_layers=1, dropout=0):
      super(bidirectionalRNN, self).__init__()
      self.dropout = dropout
      self.fwd = stackedRNN(
          inputRNN, num_layers=num_layers, dropout=dropout
      )
      self.bckwrd = stackedRNN(
          inputRNN.new_like(), num_layers=num_layers, dropout=dropout
      )
      self.rnns = nn.ModuleList([self.fwd, self.bckwrd])
  
imports: import torch
  import torch.nn
  from torch.autograd import Variable
  import torch.nn.functional
  import math
label_desc: Use image node_id 1 to create a new bidirectionalRNN object from inherited base classes: nn with example: obj = bidirectionalRNN(inputRNN, num_layers, dropout)