code: def __init__(
      self,
      hidden_size,
      num_layers=1,
      bidirectional=True,
      return_sequences=False,
  ):
      super(QAModel, self).__init__()
      self.hidden_size = hidden_size
      self.lstm_q = layer.CudnnRNN(
          hidden_size=hidden_size,
          bidirectional=bidirectional,
          return_sequences=return_sequences,
      )
      self.lstm_a = layer.CudnnRNN(
          hidden_size=hidden_size,
          bidirectional=bidirectional,
          return_sequences=return_sequences,
      )
  
file_path: singa/examples/qabot/qabot_model.py
imports: from singa import autograd, layer, model
label_desc: Use image node_id 1 to create a new QAModel object from inherited base classes: model with example: obj = QAModel(hidden_size, num_layers, bidirectional, return_sequences)