Welcome to TensorLayer


Documentation Version: 1.9.0

Good News: We won the Best Open Source Software Award @ACM Multimedia (MM) 2017.

TensorLayer is a Deep Learning (DL) and Reinforcement Learning (RL) library extended from Google TensorFlow. It provides popular DL and RL modules that can be easily customized and assembled for tackling real-world machine learning problems. More details can be found here.


If you got problem to read the docs online, you could download the repository on GitHub, then go to /docs/_build/html/index.html to read the docs offline. The _build folder can be generated in docs using make html.

API Reference

If you are looking for information on a specific function, class or method, this part of the documentation is for you.

Stable Functionalities

Command-line Reference

TensorLayer provides a handy command-line tool tl to perform some common tasks.

Command Line Interface

Indices and tables