optim/onn/__init__.py

28 lines
806 B
Python
Raw Normal View History

2018-01-21 14:04:25 -08:00
# external packages required for full functionality:
2018-01-22 11:40:36 -08:00
# numpy scipy h5py sklearn
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 *
from .nodal import *
2018-01-21 14:04:25 -08:00
from .optimizer import *
from .parametric import *
from .regularizer import *
from .ritual import *
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 *`.
__all__ = [
o for o in locals()
if type(o) != 'module' and not o.startswith('_')]