A deep learning toolbox