2018-01-21 14:04:25 -08:00
|
|
|
# external packages required for full functionality:
|
2018-03-09 01:17:31 -08:00
|
|
|
# numpy scipy h5py
|
2018-01-21 14:04:25 -08:00
|
|
|
|
|
|
|
# BIG TODO: ensure numpy isn't upcasting to float64 *anywhere*.
|
|
|
|
# this is gonna take some work.
|
|
|
|
|
|
|
|
from .activation import *
|
|
|
|
from .initialization import *
|
|
|
|
from .layer import *
|
|
|
|
from .learner import *
|
|
|
|
from .loss import *
|
|
|
|
from .math import *
|
|
|
|
from .model import *
|
2018-01-21 14:16:36 -08:00
|
|
|
from .nodal import *
|
2018-01-21 14:04:25 -08:00
|
|
|
from .optimizer import *
|
|
|
|
from .parametric import *
|
|
|
|
from .regularizer import *
|
|
|
|
from .ritual import *
|
2018-01-21 14:16:36 -08:00
|
|
|
from .utility import *
|
|
|
|
from .weight import *
|
2018-01-21 14:04:25 -08:00
|
|
|
|
|
|
|
# this is similar to default behaviour of having no __all__ variable at all,
|
|
|
|
# but ours ignores modules as well. this allows for `import sys` and such
|
|
|
|
# without clobbering `from our_module import *`.
|
2018-03-12 19:27:11 -07:00
|
|
|
__all__ = [k for k, v in locals().items()
|
|
|
|
if not __import__('inspect').ismodule(v) and not k.startswith('_')]
|