In #643 @albertz noticed that in the submodule's __init__.py files we imported everything from the submodule itself with an asterisk import. For instance:
- AM module
- Audio module
- LM module
- RETURNN module
Do we want to allow this or not? I think using asterisk imports in __init__.py has upsides (more aesthetic/sensible grouping of jobs, especially when boundaries between py files are not too well defined) and downsides (many of these imports are not need at manager loading time, so the final loading time is increased).
In #643 @albertz noticed that in the submodule's
__init__.pyfiles we imported everything from the submodule itself with an asterisk import. For instance:Do we want to allow this or not? I think using asterisk imports in
__init__.pyhas upsides (more aesthetic/sensible grouping of jobs, especially when boundaries between py files are not too well defined) and downsides (many of these imports are not need at manager loading time, so the final loading time is increased).