Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently Packaged by Kamel Ibn Aziz Derouiche for pkgsrc-wip and updated by me.