code: def get_decoders_cls(decoders_names):
      """Return valid encoder class indicated in `decoders_names`."""
      decoders_cls = {}
      for name in decoders_names:
          if name not in str2dec:
              raise ValueError("%s decoder not supported!" % name)
          decoders_cls[name] = str2dec[name]
      return decoders_cls
  
imports: import os
  import importlib
  from onmt.decoders.decoder import DecoderBase, InputFeedRNNDecoder, StdRNNDecoder
  from onmt.decoders.transformer import TransformerDecoder, TransformerLMDecoder
  from onmt.decoders.cnn_decoder import CNNDecoder
label_desc: Use image node_id 1 for calling a global function with example usage: get_decoders_cls(decoders_names) and returns: decoders_cls