Skip to main content

Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.

Project description

Theano is a Python library that allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays. It is built on top of NumPy. Theano features:

  • tight integration with NumPy: a similar interface to NumPy’s. numpy.ndarrays are also used internally in Theano-compiled functions.

  • transparent use of a GPU: perform data-intensive computations up to 140x faster than on a CPU (support for float32 only).

  • efficient symbolic differentiation: Theano can compute derivatives for functions of one or many inputs.

  • speed and stability optimizations: avoid nasty bugs when computing expressions such as log(1 + exp(x)) for large values of x.

  • dynamic C code generation: evaluate expressions faster.

  • extensive unit-testing and self-verification: includes tools for detecting and diagnosing bugs and/or potential problems.

Theano has been powering large-scale computationally intensive scientific research since 2007, but it is also approachable enough to be used in the classroom (IFT6266 at the University of Montreal).

Release Notes

Theano 1.0.5 (27th of July 2020)

This is a maintenance release of Theano, version 1.0.5, with no new features, but some deprecation fixes.

We recommend that everybody update to this version.

Highlights (since 1.0.4):

  • Theano is now compatible with Python 3.9

  • Fixed many deprecation warnings

A total of 13 people contributed to this release since 1.0.4:

  • 1fish2

  • Frederic Bastien

  • Rebecca Palmer

  • Miro Hrončok

  • Dan Foreman-Mackey

  • Adrian Seyboldt

  • abergeron

  • Tim Gates

  • Tim Odonnell

  • Robert P. Goldman

  • Duc Nguyen

  • Igor Varfolomeev

  • Thomas Wiecki

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Theano-1.0.5.tar.gz (2.8 MB view details)

Uploaded Source

File details

Details for the file Theano-1.0.5.tar.gz.

File metadata

  • Download URL: Theano-1.0.5.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for Theano-1.0.5.tar.gz
Algorithm Hash digest
SHA256 6e9439dd53ba995fcae27bf20626074bfc2fff446899dc5c53cb28c1f9202e89
MD5 d9275643c4b9c5aef77ece8ec144fac9
BLAKE2b-256 6b97bcd5654ba60f35f180931afabbd3b4c46c0379852f961c7a2819ff897f5d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page