Need help with Theano?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

9.5K Stars 2.5K Forks Other 28.1K Commits 679 Opened issues


Theano was a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It is being continued as aesara:

Services available


Need anything else?

Contributors list

============================================================================================================ MILA will stop developing Theano:

The PyMC developers have forked Theano to a new project called Aesara that is being actively developed:

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


The PDF of the documentation can be found at




(current directory) is the distribution directory.
  • Theano/theano
    contains the package
  • Theano/theano
    has several submodules:
    • gof
      are the core
    • scalar
      depends upon core
    • tensor
      depends upon
    • sparse
      depends upon
    • sandbox
      can depend on everything else
  • Theano/examples
    are copies of the example found on the wiki
  • Theano/benchmark
    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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.