code: def __init__(
      self,
      hidden_state,
      memory_cell,
      previous_action_embedding,
      attended_input,
      encoder_outputs,
      encoder_output_mask,
  ):
      self.hidden_state = hidden_state
      self.memory_cell = memory_cell
      self.previous_action_embedding = previous_action_embedding
      self.attended_input = attended_input
      self.encoder_outputs = encoder_outputs
      self.encoder_output_mask = encoder_output_mask
  
imports: from __future__ import absolute_import
  import torch
label_desc: Use image node_id 1 to create a new RnnState object from inherited base classes: object with example: obj = RnnState(hidden_state, memory_cell, previous_action_embedding, attended_input, encoder_outputs, encoder_output_mask)