@classmethod
def build_encoder(cls, args, src_dict, embed_tokens):
    return TransformerEncoder(args, src_dict, embed_tokens)
@classmethod
def build_encoder(cls, args, src_dict, embed_tokens):
    return TransformerEncoder(args, src_dict, embed_tokens)