Join 10350+ others. No spamming.
I promise!

Follow us at github.



Theano / Theano


Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It can use GPUs and perform efficient symbolic differentiation.

To install the package, see this page:

For the documentation, see the project website:

Related Projects:

We recommend you look at the documentation on the website, since it
will be more current than the documentation included with the package.
If you really wish to build the documentation yourself, you will need
epydoc and sphinx. Issue the following command:

    python ./doc/scripts/

Documentation is built into html/
The PDF of the documentation is html/theano.pdf


Theano (current directory) is the distribution directory.
    * Theano/theano contains the package
    * Theano/theano has several submodules:
        * gof + compile are the core
        * scalar depends upon core
        * tensor depends upon scalar
        * sparse depends upon tensor
        * sandbox can depend on everything else
    * Theano/examples are copies of the example on the wiki
    * Theano/benchmark and Theano/examples are in the distribution, but not in
      the Python package
    * Theano/bin contains executable scripts that are copied to the bin folder
      when the Python package is installed
    * Tests are distributed and are part of the package, i.e. fall in
      the appropriate submodules
    * Theano/doc contains files and scripts used to generate the documentation
    * Theano/html is the place where the documentation will be generated