Skip to content

Commit 2bf117c

Browse files
authored
TensorLayerX 0.5.8 Release (#68)
1 parent c987ee4 commit 2bf117c

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ More resources can be found [here](https://github.com/tensorlayer)
6666

6767
## Installation
6868

69+
### TensorLayerX corresponds to the back-end version
70+
| TensorLayerX | TensorFlow | MindSpore | PaddlePaddle|PyTorch|
71+
| :-----:| :----: | :----: |:-----:|:----:|
72+
| v0.5.8 | v2.4.0 | v1.8.1 | v2.2.0 | v1.10.0 |
73+
| v0.5.7 | v2.0.0 | v1.6.1 | v2.0.2 | v1.10.0 |
6974
### Via docker
7075

7176
Docker is an open source application container engine. In the [TensorLayerX Docker Repository](https://hub.docker.com/repository/docker/tensorlayer/tensorlayerx),

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,5 @@ License
8989

9090
TensorLayerX is released under the Apache 2.0 license.
9191

92-
.. |TENSORLAYER-LOGO| image:: https://git.openi.org.cn/TensorLayer/tensorlayer3.0/src/branch/master/img/tl_transparent_logo.png
92+
.. |TENSORLAYER-LOGO| image:: https://git.openi.org.cn/hanjr/tensorlayerx-image/raw/branch/master/tlx-LOGO--02.jpg
9393
:target: https://tensorlayerx.readthedocs.io/en/latest/

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
MAJOR = 0
2222
MINOR = 5
23-
PATCH = 7
23+
PATCH = 8
2424
PRE_RELEASE = ''
2525
# Use the following formatting: (major, minor, patch, prerelease)
2626
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)

tensorlayerx/__init__.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# import backend
66
from .backend import *
7-
7+
import warnings
88
import os
99

1010
from tensorlayerx.package_info import (
@@ -33,3 +33,14 @@
3333
# global vars
3434
global_flag = {}
3535
global_dict = {}
36+
37+
backend_v = {
38+
'tensorflow': '2.4.0',
39+
'mindspore': '1.8.1',
40+
'paddle': '2.2.0',
41+
'torch': '1.10.0',
42+
}
43+
44+
if BACKEND_VERSION != backend_v[BACKEND]:
45+
warnings.warn("The version of the backend you have installed does not match the specified backend version "
46+
"and may not work, please install version {} {}.".format(BACKEND, backend_v[BACKEND]))

tensorlayerx/package_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
MAJOR = 0
66
MINOR = 5
7-
PATCH = 7
7+
PATCH = 8
88
PRE_RELEASE = ''
99
# Use the following formatting: (major, minor, patch, prerelease)
1010
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)

0 commit comments

Comments
 (0)