code: def build_encoder(cls, args):
      encoder = ConvTransformerEmformerEncoder(args)
      if getattr(args, "load_pretrained_encoder_from", None):
          encoder = (
              checkpoint_utils.load_pretrained_component_from_model(
                  component=encoder,
                  checkpoint=args.load_pretrained_encoder_from,
              )
          )
      return encoder
  
imports: from fairseq import checkpoint_utils
  from fairseq.models import register_model, register_model_architecture
  from fairseq.models.speech_to_text import ConvTransformerModel, convtransformer_espnet, ConvTransformerEncoder
  from fairseq.models.speech_to_text.modules.augmented_memory_attention import augmented_memory, SequenceEncoder, AugmentedMemoryConvTransformerEncoder
  from torch import nn, Tensor
  from typing import Dict, List
  from fairseq.models.speech_to_text.modules.emformer import NoSegAugmentedMemoryTransformerEncoderLayer
label_desc: Use image node_id 2 for calling the ConvtransformerEmformer obj's underlying member method code with example usage: obj.build_encoder(cls, args) and returns: encoder