code: def forward(self, x):
      y = self.lstm(x)
      y = autograd.reshape(y, (y.shape[0], -1))
      y = self.l1(y)
      y = autograd.relu(y)
      y = self.l2(y)
      return y
  
file_path: singa/examples/rnn/imdb_model.py
imports: from singa import autograd
  from singa import layer
  from singa import model
label_desc: Use image node_id 2 for calling the IMDBModel obj's underlying member method code with example usage: obj.forward(x) and returns: y