A library to use modular layers in any neural network as introduced in Kirsch et al. 'Modular Networks: Learning to Decompose Neural Computation'.
Install the package with
python3 setup.py install
See mnist.py and cifar10.py for simple examples.