Theano: A CPU and GPU Math Compiler in Python

Université de Montréal

Indexed incrossref

Abstract

Abstract—Theano is a compiler for mathematical expressions in Python that combines the convenience of NumPy’s syntax with the speed of optimized native machine language. The user composes mathematical expressions in a high-level description that mimics NumPy’s syntax and semantics, while being statically typed and functional (as opposed to imperative). These expressions allow Theano to provide symbolic differentiation. Before performing computation, Theano optimizes the choice of expressions, translates them into C++ (or CUDA for GPU), compiles them into dynamically loaded Python modules, all automatically. Common machine learn-ing algorithms implemented with Theano are from 1.6 × to 7.5× faster than…

Citation impact

1,061
total citations
FWCI
11.67
Percentile
100%
References
4
Citations per year

Authors

9

Topics & keywords

Keywords
  • Computer science
  • Python (programming language)
  • Compiler
  • Programming language
  • CUDA
  • Parallel computing
  • Syntax
  • Just-in-time compilation
No related works found for this paper.

Funding