optim/onn/__init__.py

29 lines
834 B
Python

# external packages required for full functionality:
# numpy scipy h5py sklearn dotmap
# BIG TODO: ensure numpy isn't upcasting to float64 *anywhere*.
# this is gonna take some work.
from .activation import *
from .float import *
from .initialization import *
from .layer import *
from .learner import *
from .loss import *
from .math import *
from .model import *
from .nodal import *
from .optimizer import *
from .parametric import *
from .regularizer import *
from .ritual import *
from .utility import *
from .weight import *
# 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('_')]