theano Documentation
Release 0.9.0
LISA lab, University of Montreal
April 21, 2017
1 News
2 Download
3 Citing Theano
4 Documentation
5 Community
6 Help!
Python Module Index
CONTENTS
3
5
7
9
11
13
627
i
ii
theano Documentation, Release 0.9.0
Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions in-
volving multi-dimensional arrays efficiently. Theano features:
• tight integration with NumPy – Use numpy.ndarray in Theano-compiled functions.
• transparent use of a GPU – Perform data-intensive computations much faster than on a CPU.
• efficient symbolic differentiation – Theano does your derivatives for functions with one or many
inputs.
• speed and stability optimizations – Get the right answer for log(1+x) even when x is really tiny.
• dynamic C code generation – Evaluate expressions faster.
• extensive unit-testing and self-verification – Detect and diagnose many types of errors.
Theano has been powering large-scale computationally intensive scientific investigations since 2007. But it
is also approachable enough to be used in the classroom (University of Montreal’s deep learning/machine
learning classes).
CONTENTS
1
theano Documentation, Release 0.9.0
2
CONTENTS
CHAPTER
ONE
NEWS
• 2017/03/20: Release of Theano 0.9.0. Everybody is encouraged to update.
• 2017/03/13: Release of Theano 0.9.0rc4, with crash fixes and bug fixes.
• 2017/03/06: Release of Theano 0.9.0rc3, with crash fixes, bug fixes and improvements.
• 2017/02/27: Release of Theano 0.9.0rc2, with crash fixes, bug fixes and improvements.
• 2017/02/20: Release of Theano 0.9.0rc1, many improvements and bugfixes, final release to coming.
• 2017/01/24: Release of Theano 0.9.0beta1, many improvements and bugfixes, release candidate to
coming.
• 2016/05/09: New technical report on Theano: Theano: A Python framework for fast computation of
mathematical expressions. This is the new preferred reference.
• 2016/04/21: Release of Theano 0.8.2, adding support for CuDNN v5.
• 2016/03/29: Release of Theano 0.8.1, fixing a compilation issue on MacOS X with XCode 7.3.
• 2016/03/21: Release of Theano 0.8. Everybody is encouraged to update.
• Multi-GPU.
• We added support for CNMeM to speed up the GPU memory allocation.
• Theano 0.7 was released 26th March 2015. Everybody is encouraged to update.
• We support cuDNN if it is installed by the user.
• Open Machine Learning Workshop 2014 presentation.
• Colin Raffel tutorial on Theano.
• Ian Goodfellow did a 12h class with exercises on Theano.
• New technical report on Theano: Theano: new features and speed improvements.
• HPCS 2011 Tutorial. We included a few fixes discovered while doing the Tutorial.
3
theano Documentation, Release 0.9.0
You can watch a quick (20 minute) introduction to Theano given as a talk at SciPy 2010 via streaming (or
downloaded) video:
Transparent GPU Computing With Theano. James Bergstra, SciPy 2010, June 30, 2010.
4
Chapter 1. News