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.
Python Cuda C++ C Shell HTML
Latest commit a406f24 Sep 26, 2016 @nouiz nouiz committed on GitHub Merge pull request #4992 from abergeron/remove_contrib
The contributing message is annoying.
Failed to load latest commit information.
.jenkins split jenkins buildbot debug_mode into separate job Sep 26, 2016
benchmark removed duplicates Mar 23, 2016
bin fixed nosetest doc, who put this anyway? Mar 25, 2016
doc correct python versions in doc Sep 22, 2016
theano Merge pull request #5013 from nouiz/gpu_alloc_empty Sep 26, 2016
.gitignore Fix typos and other doc/comment issues, add .idea to .gitignore, and … Aug 1, 2016
.mailmap More aliases, reordered. May 10, 2016
.travis.yml Revert a change to try to fix travis on master. It is the only think … Sep 20, 2016 Adding issue and PR template to Theano repo (#4952) Sep 12, 2016
DESCRIPTION.txt Minor cosmetic change in doc Dec 7, 2011
EMAIL.txt Small update to the email annonce template. Oct 3, 2012
HISTORY.txt Chagne CuDNN to cuDNN at all other places Apr 12, 2016 Add information in the issue template Sep 19, 2016
LICENSE.txt added many stubs to the advanced section of the docs Feb 26, 2009 Fix doc inclusion in `sdist`s. Sep 20, 2016
NEWS.txt Update news and add new article May 10, 2016
NEWS_DEV.txt Changes for 0.8.0rc1 release Mar 1, 2016
README.txt Update README.txt Jun 9, 2016
Theano.pyproj Removed Aug 18, 2016
Theano.sln Created Visual Studio Python project Nov 29, 2011
requirement-rtd.txt Added dependencies in requirement-rtd.txt and travis Apr 7, 2016
setup.cfg Added the ingored errors to setup.cfg file Mar 23, 2016 fix gh-4860. Bump numpy and scipy min version Sep 1, 2016


To install the package, see this page:

For the documentation, see the project website:

Related Projects:

It is recommended that you look at the documentation on the website, as it will be more current than the documentation included with the package.

In order to build the documentation yourself, you will need sphinx. Issue the following command:
    python ./doc/scripts/

Documentation is built into html/

The PDF of the documentation can be found at 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 found 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 where the documentation will be generated