class_docstr: mLSTMRNNCell
docstr: mLSTMRNNCell.forward()
code: def forward(self, input):
      """
      mLSTMRNNCell.forward()
      """
      # if not inited or bsz has changed this will create hidden states
      self.init_hidden(input.size()[0])
  
      hidden_state = (
          self.hidden[0] if self.n_hidden_states == 1 else self.hidden
      )
  
      self.hidden = list(
          self.cell(
              input,
              hidden_state,
              self.w_ih,
              self.w_hh,
              self.w_mih,
              self.w_mhh,
              b_ih=self.b_ih,
              b_hh=self.b_hh,
          )
      )
  
      if self.output_size != self.hidden_size:
          self.hidden[0] = F.linear(self.hidden[0], self.w_ho)
      return tuple(self.hidden)
  
file_path: apex/apex/RNN/cells.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from .RNNBackend import RNNCell
  from torch.nn._functions.thnn import rnnFusedPointwise
  import math
label_desc: Use image node_id 2 for calling the mLSTMRNNCell obj's underlying member method code with example usage: obj.forward(input) and returns: tuple