class_docstr: A wrapper around an ensemble of models.
class_docstr_tok: ["A","wrapper","around","an","ensemble","of","models","."]
code: def forward_encoder(self, encoder_input):
      if not self.has_encoder():
          return None
      return [
          model.forward_encoder(encoder_input) for model in self.models
      ]
  
imports: import math
  import torch
  import torch.nn.functional
  from fairseq.models.nat import _apply_del_words, _apply_ins_masks, _apply_ins_words, _fill, _skip, _skip_encoder_out
label_desc: Use image node_id 4 for calling the BasicEnsembleModel obj's underlying member method code with example usage: obj.forward_encoder(encoder_input) and returns: unknown, None