optim/onn/__init__.py

26 lines
829 B
Python

# external packages required for full functionality:
# numpy scipy h5py
# 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 *
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__ = [k for k, v in locals().items()
if not __import__('inspect').ismodule(v) and not k.startswith('_')]