Welcome to TensorLayer¶

Documentation Version: 1.10.1
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.
Note
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
.
User Guide¶
The TensorLayer user guide explains how to install TensorFlow, CUDA and cuDNN, how to build and train neural networks using TensorLayer, and how to contribute to the library as a developer.
Starting with TensorLayer
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
- API - Activations
- API - Array Operations
- API - Cost
- Your cost function
- Softmax cross entropy
- Sigmoid cross entropy
- Binary cross entropy
- Mean squared error (L2)
- Normalized mean square error
- Absolute difference error (L1)
- Dice coefficient
- Hard Dice coefficient
- IOU coefficient
- Cross entropy for sequence
- Cross entropy with mask for sequence
- Cosine similarity
- Regularization functions
- API - Distributed Training
- API - Files
- API - Iteration
- API - Layers
- Name Scope and Sharing Parameters
- Understanding the Basic Layer
- Layer list
- Customizing Layers
- Basic Layer
- Input Layers
- Activation Layers
- Convolutional Layers
- Dense Layers
- Dropout Layers
- Extend Layers
- External Libraries Layers
- Flow Control Layer
- Image Resampling Layers
- Lambda Layers
- Merge Layers
- Noise Layer
- Normalization Layers
- Object Detection Layer
- Padding Layers
- Pooling Layers
- Quantized Nets
- Recurrent Layers
- Shape Layers
- Spatial Transformer
- Stack Layer
- Time Distributed Layer
- Helper Functions
- API - Models
- API - Natural Language Processing
- API - Optimizers
- API - Preprocessing
- API - Reinforcement Learning
- API - Utility
- API - Visualization
Alpha Version Functionalities
Command-line Reference¶
TensorLayer provides a handy command-line tool tl to perform some common tasks.
Command Line Interface