Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store
/.pytest_cache
/docs/test_build
docs/_build
tensorlayer/__pycache__
tensorlayer/*pyc
tensorlayer/layers/*pyc
.DS_Store
tensorlayer/cli/__pycache__
tensorlayer/layers/*pyc
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://docs.travis-ci.com/user/languages/python/
language: python

python:
- '3.6'

install:
- pip install tensorflow
- pip install yapf
- pip install -r requirements/requirements_doc.txt

script:
- ./tests/test_documentation.py
2 changes: 1 addition & 1 deletion docs/modules/distributed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ TensorFlow提供了一些 `Session Hooks <https://www.tensorflow.org/api_guides/
来对sessions做操作,我们在这里加更多的helper来实现更多的常规操作。

Stop after maximum time
^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^

.. autofunction:: StopAtTimeHook

Expand Down
8 changes: 4 additions & 4 deletions docs/modules/files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Google Drive
.. autofunction:: save_npz

从save_npz加载模型参数列表
^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: load_npz

把模型参数载入模型
Expand All @@ -173,14 +173,14 @@ Google Drive
.. autofunction:: save_npz_dict

从save_npz_dict加载模型参数列表
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: load_and_assign_npz_dict


保存模型结构
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: save_graph

加载模型结构
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: load_graph
Expand Down Expand Up @@ -219,7 +219,7 @@ Google Drive


文件夹/文件相关函数
------------------
-------------------

判断文件存在
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
61 changes: 0 additions & 61 deletions docs/modules/ops.rst

This file was deleted.

1 change: 1 addition & 0 deletions tests