Skip to content

Commit 5e61f27

Browse files
author
Jonathan DEKHTIAR
authored
Issue #689 fix - documentation refactoring (#691)
* Documentation Refactoring * tl.visualize warning fixed * moving mean initializer moved in the arguments * Refactored Changelog * Docs Restructured with Subsection Title * https://github.com/zsdonghao/tensorlayer/ replaced by https://github.com/tensorlayer/tensorlayer/ * Get Involved and Contribution Refactored * Redirections Fixed * get_involved added * Hao added * TL Layer Doc refactoring * Update contributing.rst * Core Team Updated * super resolution layers moved to convolution folder * YAPF Correction * Layer Documentation Refactored * Core Team Updated * Adding Travis TF 1.9.0rc0 * Fangde Added to core team * Contributors page updated * Decorator Deprecated added * Changelog Updated * Update requirements.txt * Python 2 Bug Fix * Missing Import fixed * YAPF Error Fix * 1.8.6rc6 released * Update README.rst * Setup Warning Fixed
1 parent 0ad2382 commit 5e61f27

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1089
-870
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ env:
2020
# Backward Compatibility in insured for release less than 1 year old.
2121
# https://pypi.org/project/tensorflow/#history
2222
matrix:
23+
- _TF_VERSION=1.9.0rc0 # Remove on Apr 28, 2019
2324
- _TF_VERSION=1.8.0 # Remove on Apr 28, 2019
2425
- _TF_VERSION=1.7.1 # Remove on May 08, 2019
2526
- _TF_VERSION=1.7.0 # Remove on Mar 29, 2019

CHANGELOG.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ To release a new version, please update the changelog as followed:
8282
- Decorator:
8383
- `tl.decorators` API created including `deprecated_alias` and `private_method` (PR #660)
8484
- `tl.decorators` API enriched with `protected_method` (PR #675)
85+
- `tl.decorators` API enriched with `deprecated` directly raising warning and modifying documentation (PR #691)
8586
- Docker:
8687
- Containers for each release and for each PR merged on master built (PR #648)
8788
- Containers built in the following configurations (PR #648):
@@ -90,7 +91,7 @@ To release a new version, please update the changelog as followed:
9091
- py3 + cpu
9192
- py3 + gpu
9293
- Documentation:
93-
- Clean README (PR #677)
94+
- Clean README.md (PR #677)
9495
- Release semantic version added on index page (PR #633)
9596
- Optimizers page added (PR #636)
9697
- `AMSGrad` added on Optimizers page added (PR #636)
@@ -123,7 +124,7 @@ To release a new version, please update the changelog as followed:
123124
- The document of LambdaLayer for linking it with ElementwiseLambdaLayer (PR #587)
124125
- RTD links point to stable documentation instead of latest used for development (PR #633)
125126
- TF Version older than 1.6.0 are officially unsupported and raises an exception (PR #644)
126-
- Readme Badges Updated with Support Python and Tensorflow Versions (PR #644)
127+
- README.md Badges Updated with Support Python and Tensorflow Versions (PR #644)
127128
- TL logging API has been consistent with TF logging API and thread-safe (PR #645)
128129
- Relative Imports changed for absolute imports (PR #657)
129130
- `tl.files` refactored into a directory with numerous files (PR #657)
@@ -140,6 +141,7 @@ To release a new version, please update the changelog as followed:
140141
- Input Layers have been removed from `tl.layers.core` and added to `tl.layers.inputs` (PR #675)
141142
- Input Layers are now considered as true layers in the graph (they represent a placeholder), unittests have been updated (PR #675)
142143
- Layer API is simplified, with automatic feeding `prev_layer` into `self.inputs` (PR #675)
144+
- Complete Documentation Refactoring and Reorganization (namely Layer APIs) (PR #691)
143145

144146
### Deprecated
145147
- `tl.layers.TimeDistributedLayer` argurment `args` is deprecated in favor of `layer_args` (PR #667)
@@ -177,7 +179,7 @@ To release a new version, please update the changelog as followed:
177179

178180
### Contributors
179181
- @lgarithm: #563
180-
- @DEKHTIARJonathan: #573 #574 #575 #580 #633 #635 #636 #639 #644 #645 #648 #657 #667 #658 #659 #660 #661 #666 #667 #672 #675 #683 #686 #687 #690 #692
182+
- @DEKHTIARJonathan: #573 #574 #575 #580 #633 #635 #636 #639 #644 #645 #648 #657 #667 #658 #659 #660 #661 #666 #667 #672 #675 #683 #686 #687 #690 #691 #692
181183
- @2wins: #560 #566 #662
182184
- @One-sixth: #579
183185
- @zsdonghao: #587 #588 #639 #685 #697
@@ -208,7 +210,7 @@ To release a new version, please update the changelog as followed:
208210
- py3 + cpu
209211
- py3 + gpu
210212
- Documentation:
211-
- Clean README (PR #677)
213+
- Clean README.md (PR #677)
212214
- Release semantic version added on index page (PR #633)
213215
- Optimizers page added (PR #636)
214216
- `AMSGrad` added on Optimizers page added (PR #636)
@@ -236,7 +238,7 @@ To release a new version, please update the changelog as followed:
236238
- The document of LambdaLayer for linking it with ElementwiseLambdaLayer (PR #587)
237239
- RTD links point to stable documentation instead of latest used for development (PR #633)
238240
- TF Version older than 1.6.0 are officially unsupported and raises an exception (PR #644)
239-
- Readme Badges Updated with Support Python and Tensorflow Versions (PR #644)
241+
- README.md Badges Updated with Support Python and Tensorflow Versions (PR #644)
240242
- TL logging API has been consistent with TF logging API and thread-safe (PR #645)
241243
- Relative Imports changed for absolute imports (PR #657)
242244
- `tl.files` refactored into a directory with numerous files (PR #657)
@@ -337,5 +339,5 @@ To release a new version, please update the changelog as followed:
337339
@zsdonghao @luomai @DEKHTIARJonathan
338340

339341
[Unreleased]: https://github.com/tensorlayer/tensorlayer/compare/1.8.5...master
340-
[1.8.6]: https://github.com/tensorlayer/tensorlayer/compare/1.8.6rc5...1.8.5
342+
[1.8.6]: https://github.com/tensorlayer/tensorlayer/compare/1.8.6rc6...1.8.5
341343
[1.8.5]: https://github.com/tensorlayer/tensorlayer/compare/1.8.4...1.8.5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
![PyPI Stable Version](http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/release/tensorlayer/tensorlayer.svg?label=PyPI%20-%20Release)
1515
![PyPI RC Version](http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/release/tensorlayer/tensorlayer/all.svg?label=PyPI%20-%20Pre-Release)
16-
[![Github commits (since latest release)](http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/commits-since/tensorlayer/tensorlayer/latest.svg)](https://github.com/tensorlayer/tensorlayer/compare/1.8.6rc5...master)
16+
[![Github commits (since latest release)](http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/commits-since/tensorlayer/tensorlayer/latest.svg)](https://github.com/tensorlayer/tensorlayer/compare/1.8.6rc6...master)
1717
[![PyPI - Python Version](http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/pypi/pyversions/tensorlayer.svg)](https://pypi.org/project/tensorlayer/)
1818
[![Supported TF Version](http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/badge/tensorflow-1.6.0+-blue.svg)](https://github.com/tensorflow/tensorflow/releases)
1919

README.rst

Lines changed: 49 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,14 @@
1-
.. raw:: html
1+
|TENSORLAYER-LOGO|
22

3-
<a href="https://tensorlayer.readthedocs.io/">
4-
<div align="center">
5-
<img src="img/tl_transparent_logo.png" width="50%" height="30%"/>
6-
</div>
7-
</a>
83

4+
|Awesome| |Documentation-EN| |Documentation-CN| |Book-CN| |Downloads|
95

10-
.. image:: https://awesome.re/mentioned-badge.svg
11-
:target: https://github.com/tensorlayer/awesome-tensorlayer
6+
|PyPI| |PyPI-Prerelease| |Commits-Since| |Python| |TensorFlow|
127

13-
.. image:: https://img.shields.io/badge/documentation-english-blue.svg
14-
:target: https://tensorlayer.readthedocs.io/
8+
|Travis| |Docker| |RTD-EN| |RTD-CN| |PyUP| |Docker-Pulls| |Code-Quality|
159

16-
.. image:: https://img.shields.io/badge/documentation-中文-blue.svg
17-
:target: https://tensorlayercn.readthedocs.io/
1810

19-
.. image:: https://img.shields.io/badge/book-中文-blue.svg
20-
:target: http://www.broadview.com.cn/book/5059/
21-
22-
.. image:: http://pepy.tech/badge/tensorlayer
23-
:target: http://pepy.tech/project/tensorlayer
24-
25-
26-
.. raw:: html
27-
28-
<br/>
29-
30-
.. raw:: html
31-
32-
33-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/release/tensorlayer/tensorlayer.svg?label=PyPI%20-%20Release
34-
:target: https://pypi.org/project/tensorlayer/
35-
36-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/release/tensorlayer/tensorlayer/all.svg?label=PyPI%20-%20Pre-Release
37-
:target: https://pypi.org/project/tensorlayer/
38-
39-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/commits-since/tensorlayer/tensorlayer/latest.svg
40-
:target: https://github.com/tensorlayer/tensorlayer/compare/1.8.6rc5...master
41-
42-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/pypi/pyversions/tensorlayer.svg
43-
:target: https://pypi.org/project/tensorlayer/
44-
45-
.. image:: https://img.shields.io/badge/tensorflow-1.6.0+-blue.svg
46-
:target: https://github.com/tensorflow/tensorflow/releases
47-
48-
49-
.. raw:: html
50-
51-
<br/>
52-
53-
.. raw:: html
54-
55-
56-
57-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/travis/tensorlayer/tensorlayer/master.svg?label=Travis
58-
:target: https://travis-ci.org/tensorlayer/tensorlayer
59-
60-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/circleci/project/github/tensorlayer/tensorlayer/master.svg?label=Docker%20Build
61-
:target: https://circleci.com/gh/tensorlayer/tensorlayer/tree/master
62-
63-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/readthedocs/tensorlayer/latest.svg?label=ReadTheDocs-EN
64-
:target: https://tensorlayer.readthedocs.io/
65-
66-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/readthedocs/tensorlayercn/latest.svg?label=ReadTheDocs-CN
67-
:target: https://tensorlayercn.readthedocs.io/
68-
69-
.. image:: https://pyup.io/repos/github/tensorlayer/tensorlayer/shield.svg
70-
:target: https://pyup.io/repos/github/tensorlayer/tensorlayer/
71-
72-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/docker/pulls/tensorlayer/tensorlayer.svg
73-
:target: https://hub.docker.com/r/tensorlayer/tensorlayer/
74-
75-
.. image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/codacy/grade/ca2a29ddcf7445588beff50bee5406d9.svg
76-
:target: https://app.codacy.com/app/tensorlayer/tensorlayer
77-
78-
79-
80-
.. raw:: html
81-
82-
<br/><br/>
83-
84-
<a href="https://join.slack.com/t/tensorlayer/shared_invite/enQtMjUyMjczMzU2Njg4LWI0MWU0MDFkOWY2YjQ4YjVhMzI5M2VlZmE4YTNhNGY1NjZhMzUwMmQ2MTc0YWRjMjQzMjdjMTg2MWQ2ZWJhYzc" target="\_blank">
85-
<div align="center">
86-
<img src="img/join_slack.png" width="40%"/>
87-
</div>
88-
</a>
89-
90-
<br/>
91-
92-
.. raw:: html
11+
|JOIN-SLACK-LOGO|
9312

9413
TensorLayer is a novel TensorFlow-based deep learning and reinforcement
9514
learning library designed for researchers and engineers. It provides a
@@ -232,3 +151,47 @@ License
232151
=======
233152

234153
TensorLayer is released under the Apache 2.0 license.
154+
155+
156+
.. |TENSORLAYER-LOGO| image:: https://raw.githubusercontent.com/tensorlayer/tensorlayer/master/img/tl_transparent_logo.png
157+
:target: https://tensorlayer.readthedocs.io/
158+
.. |JOIN-SLACK-LOGO| image:: https://raw.githubusercontent.com/tensorlayer/tensorlayer/master/img/join_slack.png
159+
:target: https://join.slack.com/t/tensorlayer/shared_invite/enQtMjUyMjczMzU2Njg4LWI0MWU0MDFkOWY2YjQ4YjVhMzI5M2VlZmE4YTNhNGY1NjZhMzUwMmQ2MTc0YWRjMjQzMjdjMTg2MWQ2ZWJhYzc
160+
161+
.. |Awesome| image:: https://awesome.re/mentioned-badge.svg
162+
:target: https://github.com/tensorlayer/awesome-tensorlayer
163+
.. |Documentation-EN| image:: https://img.shields.io/badge/documentation-english-blue.svg
164+
:target: https://tensorlayer.readthedocs.io/
165+
.. |Documentation-CN| image:: https://img.shields.io/badge/documentation-中文-blue.svg
166+
:target: https://tensorlayercn.readthedocs.io/
167+
.. |Book-CN| image:: https://img.shields.io/badge/book-中文-blue.svg
168+
:target: http://www.broadview.com.cn/book/5059/
169+
.. |Downloads| image:: http://pepy.tech/badge/tensorlayer
170+
:target: http://pepy.tech/project/tensorlayer
171+
172+
173+
.. |PyPI| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/release/tensorlayer/tensorlayer.svg?label=PyPI%20-%20Release
174+
:target: https://pypi.org/project/tensorlayer/
175+
.. |PyPI-Prerelease| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/release/tensorlayer/tensorlayer/all.svg?label=PyPI%20-%20Pre-Release
176+
:target: https://pypi.org/project/tensorlayer/
177+
.. |Commits-Since| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/github/commits-since/tensorlayer/tensorlayer/latest.svg
178+
:target: https://github.com/tensorlayer/tensorlayer/compare/1.8.6rc5...master
179+
.. |Python| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/pypi/pyversions/tensorlayer.svg
180+
:target: https://pypi.org/project/tensorlayer/
181+
.. |TensorFlow| image:: https://img.shields.io/badge/tensorflow-1.6.0+-blue.svg
182+
:target: https://github.com/tensorflow/tensorflow/releases
183+
184+
.. |Travis| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/travis/tensorlayer/tensorlayer/master.svg?label=Travis
185+
:target: https://travis-ci.org/tensorlayer/tensorlayer
186+
.. |Docker| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/circleci/project/github/tensorlayer/tensorlayer/master.svg?label=Docker%20Build
187+
:target: https://circleci.com/gh/tensorlayer/tensorlayer/tree/master
188+
.. |RTD-EN| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/readthedocs/tensorlayer/latest.svg?label=ReadTheDocs-EN
189+
:target: https://tensorlayer.readthedocs.io/
190+
.. |RTD-CN| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/readthedocs/tensorlayercn/latest.svg?label=ReadTheDocs-CN
191+
:target: https://tensorlayercn.readthedocs.io/
192+
.. |PyUP| image:: https://pyup.io/repos/github/tensorlayer/tensorlayer/shield.svg
193+
:target: https://pyup.io/repos/github/tensorlayer/tensorlayer/
194+
.. |Docker-Pulls| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/docker/pulls/tensorlayer/tensorlayer.svg
195+
:target: https://hub.docker.com/r/tensorlayer/tensorlayer/
196+
.. |Code-Quality| image:: http://ec2-35-178-47-120.eu-west-2.compute.amazonaws.com/codacy/grade/ca2a29ddcf7445588beff50bee5406d9.svg
197+
:target: https://app.codacy.com/app/tensorlayer/tensorlayer

docs/index.rst

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Welcome to TensorLayer
1212
**Good News:** We won the **Best Open Source Software Award** `@ACM Multimedia (MM) 2017 <http://www.acmmm.org/2017/mm-2017-awardees/>`_.
1313

1414
`TensorLayer`_ is a Deep Learning (DL) and Reinforcement Learning (RL) library extended from `Google TensorFlow <https://www.tensorflow.org>`_. It provides popular DL and RL modules that can be easily customized and assembled for tackling real-world machine learning problems.
15-
More details can be found `here <https://github.com/zsdonghao/tensorlayer>`_.
15+
More details can be found `here <https://github.com/tensorlayer/tensorlayer>`_.
1616

1717
.. note::
1818
If you got problem to read the docs online, you could download the repository
@@ -28,12 +28,14 @@ to the library as a developer.
2828

2929
.. toctree::
3030
:maxdepth: 2
31+
:caption: Starting with TensorLayer
3132

3233
user/installation
3334
user/tutorial
3435
user/example
35-
user/development
36-
user/more
36+
user/contributing
37+
user/get_involved
38+
user/faq
3739

3840
API Reference
3941
-------------
@@ -43,21 +45,27 @@ method, this part of the documentation is for you.
4345

4446
.. toctree::
4547
:maxdepth: 2
48+
:caption: Stable Functionalities
4649

4750
modules/activation
4851
modules/array_ops
4952
modules/cost
5053
modules/distributed
5154
modules/files
5255
modules/iterate
56+
modules/layers
5357
modules/models
5458
modules/nlp
55-
modules/layers
5659
modules/optimizers
5760
modules/prepro
5861
modules/rein
5962
modules/utils
6063
modules/visualize
64+
65+
.. toctree::
66+
:maxdepth: 2
67+
:caption: Unstable Functionalities
68+
6169
modules/db
6270

6371

@@ -68,6 +76,7 @@ TensorLayer provides a handy command-line tool `tl` to perform some common tasks
6876

6977
.. toctree::
7078
:maxdepth: 2
79+
:caption: Command Line Interface
7180

7281
modules/cli
7382

@@ -80,5 +89,5 @@ Indices and tables
8089
* :ref:`search`
8190

8291

83-
.. _GitHub: https://github.com/zsdonghao/tensorlayer
84-
.. _TensorLayer: https://github.com/zsdonghao/tensorlayer/
92+
.. _GitHub: https://github.com/tensorlayer/tensorlayer
93+
.. _TensorLayer: https://github.com/tensorlayer/tensorlayer/

docs/modules/distributed.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ API - Distributed Training
44
(Alpha release - usage might change later)
55

66
Helper sessions and methods to run a distributed training.
7-
Check this `minst example <https://github.com/zsdonghao/tensorlayer/blob/master/example/tutorial_mnist_distributed.py>`_.
7+
Check this `minst example <https://github.com/tensorlayer/tensorlayer/blob/master/example/tutorial_mnist_distributed.py>`_.
88

99
.. automodule:: tensorlayer.distributed
1010

0 commit comments

Comments
 (0)