Skip to content
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
Branch: master
Clone or download
nouiz Merge pull request #6741 from hroncok/python39
Various Python 3.9 related import changes
Latest commit 473d74e Feb 9, 2020
Type Name Latest commit message Commit time
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 Fix pygment version. Its packages pkgs/main/noarch::pygments-2.4.2-py… Aug 21, 2019
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 Update extending_theano.txt Jan 14, 2020
theano Use math.gcd instead of fractions.gcd when possible Feb 5, 2020
.appveyor.yml Update the anaconda tokens Sep 17, 2018
.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 1.0.3 release Sep 14, 2018
.travis.yml Added support for the axis parameter of numpy.unique (#6644) Sep 21, 2018 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 the 1.0.4 release Jan 15, 2019 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 the 1.0.4 release Jan 15, 2019
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
You can’t perform that action at this time.