class_docstr: Abstract class for any module that pass encoder to decoder, such as
  attention network.
class_docstr_tok: ["Abstract","class","for","any","module","that","pass","encoder","to","decoder",",","such","as","attention","network","."]
code: def __init__(self, **kwargs):
      super().__init__(**kwargs)
  
file_path: gluonts/src/gluonts/mx/block/enc2dec.py
imports: from typing import Tuple
  from mxnet.gluon import nn
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
label_desc: Use image node_id 1 to create a new Seq2SeqEnc2Dec object from inherited base classes: nn with example: obj = Seq2SeqEnc2Dec()