class_docstr: Wrapper around multiple decoder final hidden states.
code: def __getitem__(self, index):
      return self.model_dec_outs[index]
  
imports: import torch
  import torch.nn
  from onmt.encoders.encoder import EncoderBase
  from onmt.decoders.decoder import DecoderBase
  from onmt.models import NMTModel
  import onmt.model_builder
label_desc: Use image node_id 3 for calling the EnsembleDecoderOutput obj's underlying member method code with example usage: obj.__getitem__(index) and returns: self