code: def forward(self, x):
      out, _ = self.rnn(x)
      out = out[:, -1] if self.batch_first else out[-1]
      out = self.classifier(out)
      return out
  
file_path: avalanche/avalanche/models/simple_sequence_classifier.py
imports: import torch
  from avalanche.models.dynamic_modules import MultiTaskModule, MultiHeadClassifier
label_desc: Use image node_id 2 for calling the SimpleSequenceClassifier obj's underlying member method code with example usage: obj.forward(x) and returns: out