Hi team. I changed the module name and the related import statements. This PR also addresses the problem of doing import * for the Config, and reactors DCAN for the.
Changed src -> anemic and changed all the statements related.
Added the import statements to all the __init__.py. Removed the import statements written just for ConfigMapper.
Make the DCAN model self-contained and remove the modules.layers module since it's only used in DCAN.
41 also does refactoring DCAN, but this PR tries to create a directory per model. So let me do it together.
By the second change, if any of the anemic submodules are imported, then all the classes of anemic will be loaded recursively by the __init__.py files so that the ConfigMapper will get the classes.
FYI, all the import statements are absolute imports, not relative, following this guide.
Hi team. I changed the module name and the related import statements. This PR also addresses the problem of doing
import *
for the Config, and reactors DCAN for the.src
->anemic
and changed all the statements related.__init__.py
. Removed the import statements written just for ConfigMapper.modules.layers
module since it's only used in DCAN.41 also does refactoring DCAN, but this PR tries to create a directory per model. So let me do it together.
By the second change, if any of the
anemic
submodules are imported, then all the classes ofanemic
will be loaded recursively by the__init__.py
files so that the ConfigMapper will get the classes.FYI, all the import statements are absolute imports, not relative, following this guide.