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
Clone or download
abergeron Merge pull request #6636 from Mottl/patch-1
Fix a typo in scan() docstring
Latest commit 8430dd6 Aug 15, 2018
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 Remove the page about python memory management and its references Jul 16, 2018
theano Fix a typo in scan() docstring Aug 15, 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 Modifications for release 1.0.2 May 23, 2018
.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 Modifications for release 1.0.2 May 23, 2018 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 Modifications for release 1.0.2 May 23, 2018
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 After looking at older documentation of flake8, I think all flake8 3.… Mar 17, 2018 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