def METHOD_NAME(cls, cfg, *args, **kwargs):
    # backbone
    backbone = create(cfg['backbone'])
    trans_encoder = create(cfg['trans_encoder'])
    return {'backbone': backbone, 'trans_encoder': trans_encoder}