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 C Shell Cuda Batchfile HTML
Latest commit 8aaf55b Jan 16, 2018 @nouiz nouiz Merge pull request #6549 from abergeron/batch_gemm_less_template
Remove a template argument from batch_gemm
Failed to load latest commit information.
.circleci Adjust artifact paths. Oct 10, 2017
.jenkins Revert "Try to fix cuDNN finding in jenkins tests for Windows" Dec 1, 2017
.travis Try to install graphviz so we can actually test d3viz Jul 6, 2017
bin Remove old files not used anymore. Mar 3, 2017
conda Don't use noarch in the receipe since it makes broken packages. Sep 18, 2017
doc Add note in the release docs to keep the version up to date. Jan 9, 2018
theano Remove a template argument from batch_gemm Jan 10, 2018
.appveyor.yml Make sure the PR have the proper MKL setting. Oct 24, 2017
.gitattributes Use versioneer. Sep 14, 2017
.gitignore Fix typos and other doc/comment issues, add .idea to .gitignore, and … Aug 1, 2016
.mailmap Prepare release 0.10.0beta4 Oct 16, 2017
.travis.yml Clean up the .travis.yml file. All the cd bring us back to the origin… Oct 10, 2017 Adding issue and PR template to Theano repo (#4952) Sep 12, 2016
DESCRIPTION.txt Minor cosmetic change in doc Dec 7, 2011
EMAIL.txt Update Theano's general description @lamblin . Mar 20, 2017
HISTORY.txt Prepare release 1.0.1 Dec 5, 2017 Add information in the issue template Sep 19, 2016
LICENSE.txt added many stubs to the advanced section of the docs Feb 26, 2009 Use versioneer. Sep 14, 2017
NEWS.txt Rebase and update release date. Dec 5, 2017
NEWS_DEV.txt Rebase and update release date. Dec 5, 2017
README.rst Add in the read-me information about MILA and Theano. Oct 6, 2017
Theano.pyproj Remove ProfileMode Oct 5, 2016
Theano.sln Created Visual Studio Python project Nov 29, 2011
requirement-rtd.txt Squashed commit of NVIDIA changes for CUDA9/Volta Aug 10, 2017
setup.cfg Do some cleanup. Sep 14, 2017 Use the Fallback version number also when importing Theano. Oct 12, 2017 Use versioneer. Sep 14, 2017


MILA will stop developing Theano.

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