Skip to main content

TENSORLAYER-LOGO

TensorLayerX is a deep learning library designed for researchers and engineers that is compatible with multiple deep learning frameworks such as TensorFlow, MindSpore and PaddlePaddle, allowing users to run the code on different hardware like Nvidia-GPU and Huawei-Ascend. 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. TensorLayerX will support TensorFlow, MindSpore, PaddlePaddle, and PyTorch backends in the future.

Install

TensorLayerX has some prerequisites that need to be installed first, including TensorFlow , MindSpore, PaddlePaddle,numpy and matplotlib.For GPU support CUDA and cuDNN are required.

# for last stable version
pip install --upgrade tensorlayerX

# for latest release candidate
pip install --upgrade --pre tensorlayerX

# if you want to install the additional dependencies, you can also run
pip install --upgrade tensorlayerX[all]              # all additional dependencies
pip install --upgrade tensorlayerX[extra]            # only the `extra` dependencies
pip install --upgrade tensorlayerX[contrib_loggers]  # only the `contrib_loggers` dependencies

Alternatively, you can install the latest or development version by directly pulling from OpenI:

pip3 install git+https://github.com/tensorlayer/TensorLayerX.git

Containers with CPU support

# for CPU version and Python 2
docker pull tensorlayer/tensorlayer:latest
docker run -it --rm -p 8888:8888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest

# for CPU version and Python 3
docker pull tensorlayer/tensorlayer:latest-py3
docker run -it --rm -p 8888:8888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest-py3

Containers with GPU support

NVIDIA-Docker is required for these containers to work: Project Link

# for GPU version and Python 2
docker pull tensorlayer/tensorlayer:latest-gpu
nvidia-docker run -it --rm -p 8888:88888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest-gpu

# for GPU version and Python 3
docker pull tensorlayer/tensorlayer:latest-gpu-py3
nvidia-docker run -it --rm -p 8888:8888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest-gpu-py3

Cite

If you find this project useful, we would be grateful if you cite the TensorLayer papers.

@article{tensorlayer2017,
    author  = {Dong, Hao and Supratak, Akara and Mai, Luo and Liu, Fangde and Oehmichen, Axel and Yu, Simiao and Guo, Yike},
    journal = {ACM Multimedia},
    title   = {{TensorLayer: A Versatile Library for Efficient Deep Learning Development}},
    url     = {http://tensorlayer.org},
    year    = {2017}
}
@inproceedings{tensorlayer2021,
    title={Tensorlayer 3.0: A Deep Learning Library Compatible With Multiple Backends},
    author={Lai, Cheng and Han, Jiarong and Dong, Hao},
    booktitle={2021 IEEE International Conference on Multimedia \& Expo Workshops (ICMEW)},
    pages={1--3},
    year={2021},
    organization={IEEE}
}

License

TensorLayerX is released under the Apache 2.0 license.

Metadata

Release files for tensorlayerx 0.5.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tensorlayerx 0.5.8
File Size Uploaded
tensorlayerx-0.5.8.tar.gz 396.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tensorlayerx 0.5.8
File Interpreter ABI Platform
tensorlayerx-0.5.8-py3-none-any.whl Python 3 none any Details

Total release size: 928.9 kB

Release files / tensorlayerx-0.5.8.tar.gz

Download URL tensorlayerx-0.5.8.tar.gz
Size 396.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6f318fdd2ccc7aaf214d217e32ddf0fa08f7ee467830e44505677064b95d9056
BLAKE2b-256 checksum
How to use checksums
4871e63c4064685b5635d71ad1cee5fe2795e61099bdf3a6f9ddc29430aa6d2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / tensorlayerx-0.5.8-py3-none-any.whl

Download URL tensorlayerx-0.5.8-py3-none-any.whl
Size 532.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9c82cdbdbad9d08f8ab2ec20c78b1954176a26422df3bb42c44102637e1b80c
BLAKE2b-256 checksum
How to use checksums
c78d34b97e3f06a0277db9a2362a35ac7b932393b3d236f0c4d7469d884577f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.5.8 This release

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page