code: def __init__(self, encoder, decoder, source_embeddings):
      super().__init__()
      self.source_embeddings = source_embeddings
      self.encoder = encoder
      self.decoder = decoder
      log_class_usage(__class__)
  
file_path: pytext/pytext/models/seq_models/rnn_encoder_decoder.py
imports: from typing import Dict, List, Optional
  import torch.jit
  from pytext.config import ConfigBase
  from pytext.models.module import create_module
  from pytext.utils.usage import log_class_usage
  from .base import PyTextSeq2SeqModule
  from .rnn_decoder import RNNDecoder
  from .rnn_encoder import LSTMSequenceEncoder
label_desc: Use image node_id 1 to create a new RNNModel object from inherited base classes: PyTextSeq2SeqModule with example: obj = RNNModel(encoder, decoder, source_embeddings)