Theano is a Python library: A CPU and GPU math expression compiler

來源:互聯網
上載者:User

標籤:

Welcome¶

Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving 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 calculations up to 140x faster than with CPU.(float32 only)
  • efficient symbolic differentiation – Theano does your derivatives for function 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 mistake.

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

News¶
  • 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.
  • Theano 0.6 was released. Everybody is encouraged to update.
  • New technical report on Theano: Theano: new features and speed improvements.
  • HPCS 2011 Tutorial. We included a few fixes discovered while doing the Tutorial.

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.
Download¶

Theano is now available on PyPI, and can be installed via easy_install Theano, pip install Theano or by downloading and unpacking the tarball and typing python setup.py install.

Those interested in bleeding-edge features should obtain the latest development version, available via:

git clone git://github.com/Theano/Theano.git

You can then place the checkout directory on your $PYTHONPATH or use python setup.py develop to install a .pth into your site-packages directory, so that when you pull updates via Git, they will be automatically reflected the “installed” version. For more information about installation and configuration, see installing Theano.

Status¶   Citing Theano¶

If you use Theano for academic research, you are highly encouraged (though not required) to cite the following two papers:

  • F. Bastien, P. Lamblin, R. Pascanu, J. Bergstra, I. Goodfellow, A. Bergeron, N. Bouchard, D. Warde-Farley and Y. Bengio. “Theano: new features and speed improvements”. NIPS 2012 deep learning workshop. (BibTex)
  • J. Bergstra, O. Breuleux, F. Bastien, P. Lamblin, R. Pascanu, G. Desjardins, J. Turian, D. Warde-Farley and Y. Bengio. “Theano: A CPU and GPU Math Expression Compiler”. Proceedings of the Python for Scientific Computing Conference (SciPy) 2010. June 30 - July 3, Austin, TX (BibTeX)

Theano is primarily developed by academics, and so citations matter a lot to us. As an added benefit, you increase Theano’s exposure and potential user (and developer) base, which is to the benefit of all users of Theano. Thanks in advance!

See our Theano Citation Policy for details.

Documentation¶

Roughly in order of what you’ll want to check out:

  • Installing Theano – How to install Theano.
  • Theano at a Glance – What is Theano?
  • Tutorial – Learn the basics.
  • Library Documentation – Theano’s functionality, module by module.
  • Frequently Asked Questions – A set of commonly asked questions.
  • Optimizations – Guide to Theano’s graph optimizations.
  • Extending Theano – Learn to add a Type, Op, or graph optimization.
  • Developer Start Guide – How to contribute code to Theano.
  • Theano Design and Implementation Documentation – Primarily of interest to developers of Theano
  • Internal Documentation – How to maintain Theano, LISA-specific tips, and more...
  • Release – How our release should work.
  • Acknowledgements – What we took from other projects.
  • Related Projects – link to other projects that implement new functionalities on top of Theano

You can download the latest PDF documentation, rather than reading it online.

Check out how Theano can be used for Machine Learning: Deep Learning Tutorials.

Theano was featured at SciPy 2010.

Community¶

“Thank YOU for correcting it so quickly. I wish all packages I worked with would have such an active maintenance - this is as good as it gets :-)”

(theano-users, Aug 2, 2010)

  • Register to theano-announce if you want to be kept informed on important change on theano(low volume).
  • Register and post to theano-users if you want to talk to all Theano users.
  • Register and post to theano-dev if you want to talk to the developers.
  • Register to theano-github if you want to receive an email for all changes to the GitHub repository.
  • Register to theano-buildbot if you want to receive our daily buildbot email.
  • Ask/view questions/answers at metaoptimize/qa/tags/theano (it’s like stack overflow for machine learning)
  • We use Github tickets to keep track of issues (however, some old tickets can still be found on Assembla).
  • Come visit us in Montreal! Most developers are students in the LISA group at the University of Montreal.

Theano is a Python library: A CPU and GPU math expression compiler

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.