code: def forward(self, inputs, hidden):
      inputs = inputs.unbind(0)
      outputs = []
      for i in range(len(inputs)):
          out, hidden = self.cell(inputs[i], hidden)
          outputs += [out]
      outputs = torch.stack(outputs)
      return outputs, hidden
  
imports: from typing import List, Optional
  import torch
  import torch.nn
  from ..losses.pytorch import MAE
  from ..common._base_recurrent import BaseRecurrent
  from ..common._modules import MLP
label_desc: Use image node_id 2 for calling the ResLSTMLayer obj's underlying member method code with example usage: obj.forward(inputs, hidden) and returns: outputs,  hidden