Skip to content

Commit

Permalink
aaaa!! dont panic. I broke imports quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mfinzi committed Apr 20, 2021
1 parent eb664d1 commit 9667679
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions emlp/nn/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@

from .objax import *
import importlib
import pkgutil
__all__ = []
module = importlib.import_module('.'+'objax',package=__name__)
globals().update({k: getattr(module, k) for k in module.__all__})
__all__ += module.__all__

0 comments on commit 9667679

Please sign in to comment.