class_docstr: Abstract class for all nonautoregressive-based models
class_docstr_tok: ["Abstract","class","for","all","nonautoregressive-based","models"]
code: def enable_ensemble(self, models):
      self.encoder.ensemble_models = [m.encoder for m in models]
      self.decoder.ensemble_models = [m.decoder for m in models]
  
imports: import math
  import torch
  from fairseq.models.transformer import TransformerDecoder, TransformerEncoder, TransformerModel
  from fairseq.modules.transformer_sentence_encoder import init_bert_params
label_desc: Use image node_id 4 for calling the FairseqNATModel obj's underlying member method code with example usage: obj.enable_ensemble(models) without return types