class_docstr: Cloze-Transformer decoder.
class_docstr_tok: ["Cloze-Transformer","decoder","."]
code: def __init__(
      self, args, src_dict, dst_dict, embed_tokens, left_pad=False
  ):
      super().__init__(args, src_dict, dst_dict, embed_tokens)
      assert args.decoder_layers == 1
  
file_path: translate/pytorch_translate/research/rescore/cloze_transformer_model.py
imports: import torch
  from fairseq import utils
  from fairseq.models import register_model, register_model_architecture
  from pytorch_translate.transformer import base_architecture, build_embedding, TransformerDecoder, TransformerModel
label_desc: Use image node_id 1 to create a new ClozeTransformerDecoder object from inherited base classes: TransformerDecoder with example: obj = ClozeTransformerDecoder(args, src_dict, dst_dict, embed_tokens, left_pad)