class_docstr: Conformer Encoder for speech translation based on https://arxiv.org/abs/2005.08100
docstr: Required method for a FairseqEncoder. Calls the method from the parent class
docstr_tok: ["Required","method","for","a","FairseqEncoder",".","Calls","the","method","from","the","parent","class"]
code: def reorder_encoder_out(self, encoder_out, new_order):
      """Required method for a FairseqEncoder. Calls the method from the parent class"""
      return S2TTransformerEncoder.reorder_encoder_out(
          self, encoder_out, new_order
      )
  
imports: import logging
  import math
  from pathlib import Path
  import torch
  from fairseq import checkpoint_utils
  from fairseq.data.data_utils import lengths_to_padding_mask
  from fairseq.models import FairseqEncoder, register_model, register_model_architecture
  from fairseq.models.speech_to_text.modules.convolution import Conv1dSubsampler, Conv2dSubsampler
  from fairseq.models.speech_to_text.s2t_transformer import S2TTransformerEncoder, S2TTransformerModel
  from fairseq.models.speech_to_text.s2t_transformer import base_architecture
  from fairseq.modules import PositionalEmbedding, RelPositionalEncoding
  from fairseq.modules.conformer_layer import ConformerEncoderLayer
label_desc: Use image node_id 4 for calling the S2TConformerEncoder obj's underlying member method code with example usage: obj.reorder_encoder_out(encoder_out, new_order) and returns: S2TTransformerEncoder