po03087's picture
SRA: MID/LED/MoFlow code + RUNNING.md instructions (code only, no data/ckpts)
d4cbafd verified
Raw
History Blame Contribute Delete
269 Bytes
from .mtr_decoder import MTRDecoder
__all__ = {
'MTRDecoder': MTRDecoder,
}
def build_decoder(config, use_pre_norm, **kwargs):
model = __all__[config.NAME](
config=config,
use_pre_norm=use_pre_norm,
**kwargs
)
return model