Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ coverage html
```

## Documentation
Even though you follow [numpydoc](https://numpydoc.readthedocs.io/en/latest/) document style when writing your code,
this does not ensure those lines appear on TensorLayer online documentation.
Even though you follow [numpydoc](https://numpydoc.readthedocs.io/en/latest/) document style when writing your code,
this does not ensure those lines appear on TensorLayer online documentation.
You need further modify corresponding RST files in `docs/modules`.

For example, to add your implemented new pooling layer into documentation, modify `docs/modules/layer.rst`. First, insert layer name under Layer list
Expand Down Expand Up @@ -129,9 +129,9 @@ Finally, test with local documentation:
cd ./docs

make clean
make html
make html
# then view generated local documentation by ./html/index.html
```
```

## General intro to TensorLayer2
* TensorLayer2 is built on [TensorFlow2](https://www.tensorflow.org/alpha), so TensorLayer2 is purely eager, no sessions, no globals.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Please click [TensorLayerX](https://github.com/tensorlayer/tensorlayerx) 🔥🔥🔥

[TensorLayer](https://tensorlayer.readthedocs.io) is a novel TensorFlow-based deep learning and reinforcement learning library designed for researchers and engineers. It provides an extensive collection of customizable neural layers to build advanced AI models quickly, based on this, the community open-sourced mass [tutorials](https://github.com/tensorlayer/tensorlayer/blob/master/examples/reinforcement_learning/README.md) and [applications](https://github.com/tensorlayer). TensorLayer is awarded the 2017 Best Open Source Software by the [ACM Multimedia Society](https://twitter.com/ImperialDSI/status/923928895325442049).
[TensorLayer](https://tensorlayer.readthedocs.io) is a novel TensorFlow-based deep learning and reinforcement learning library designed for researchers and engineers. It provides an extensive collection of customizable neural layers to build advanced AI models quickly, based on this, the community open-sourced mass [tutorials](https://github.com/tensorlayer/tensorlayer/blob/master/examples/reinforcement_learning/README.md) and [applications](https://github.com/tensorlayer). TensorLayer is awarded the 2017 Best Open Source Software by the [ACM Multimedia Society](https://twitter.com/ImperialDSI/status/923928895325442049).
This project can also be found at [OpenI](https://git.openi.org.cn/TensorLayer/tensorlayer3.0) and [Gitee](https://gitee.com/organizations/TensorLayer).

# News
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ method, this part of the documentation is for you.
modules/db
modules/optimizers
modules/distributed

Command-line Reference
----------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/activation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For more complex activation, TensorFlow API will be required.

def double_activation(x):
return x * 2

double_activation = lambda x: x * 2

.. automodule:: tensorlayer.activation
Expand Down
2 changes: 1 addition & 1 deletion setup.travis.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ addopts = --ignore=tests/test_documentation.py
--ignore=tests/performance_test/vgg/tf2-autograph.py
--ignore=tests/performance_test/vgg/keras_test.py
--ignore=tests/performance_test/vgg/pytorch_test.py

[flake8]
max-line-length = 120
ignore =
Expand Down
2 changes: 1 addition & 1 deletion setup.travis_doc.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ no_spaces_around_selected_binary_operators = True
allow_multiline_lambdas = True

SPLIT_PENALTY_FOR_ADDED_LINE_SPLIT = 10
SPLIT_PENALTY_AFTER_OPENING_BRACKET = 500
SPLIT_PENALTY_AFTER_OPENING_BRACKET = 500