未验证 提交 249ea3d8 编写于 作者: H Hao Wang 提交者: GitHub

add index for api_guides and fix some bugs (#640)

上级 ef5264e6
...@@ -10,10 +10,10 @@ API Reference ...@@ -10,10 +10,10 @@ API Reference
============= =============
.. toctree:: .. toctree::
:maxdepth: 1
''') ''')
file_object.write(' api_guides/index.rst'+'\n') file_object.write(' ../api_guides/index_en.rst'+'\n')
file_object.write(' fluid.rst'+'\n') file_object.write(' fluid.rst'+'\n')
for file_name in sorted(glob.glob("*.rst")): for file_name in sorted(glob.glob("*.rst")):
if file_name != ('index_en.rst' and 'fluid.rst'): if file_name != ('index_en.rst' and 'fluid.rst'):
......
...@@ -3,8 +3,9 @@ API Reference ...@@ -3,8 +3,9 @@ API Reference
============= =============
.. toctree:: .. toctree::
:maxdepth: 1
../api_guides/index_en.rst
fluid.rst fluid.rst
average.rst average.rst
backward.rst backward.rst
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
Tensor Tensor
######## ########
There are two data structures used in Fluid to host the data, namely `Tensor and LoD_Tensor <../../../user_guides/howto/prepare_data/lod_tensor_en.html>`_. LoD-Tensor is a unique concept of Fluid, which appends sequence information to Tensor. The data that can be transferred in the framework includes: input, output, and learnable parameters in the network. All of them are uniformly represented by LoD-Tensor. In addition, tensor can be regarded as a special LoD-Tensor. There are two data structures used in Fluid to host the data, namely `Tensor and LoD_Tensor <../../../user_guides/howto/basic_concept/lod_tensor_en.html>`_ . LoD-Tensor is a unique concept of Fluid, which appends sequence information to Tensor. The data that can be transferred in the framework includes: input, output, and learnable parameters in the network. All of them are uniformly represented by LoD-Tensor. In addition, tensor can be regarded as a special LoD-Tensor.
Now let's take a closer look at the operations related to these two types of data. Now let's take a closer look at the operations related to these two types of data.
...@@ -125,7 +125,7 @@ API reference : :ref:`api_fluid_layers_reverse` ...@@ -125,7 +125,7 @@ API reference : :ref:`api_fluid_layers_reverse`
LoD-Tensor LoD-Tensor
============ ============
LoD-Tensor is very suitable for sequence data. For related knowledge, please read `LoD_Tensor <../../../user_guides/howto/prepare_data/lod_tensor_en.html>`_. LoD-Tensor is very suitable for sequence data. For related knowledge, please read `Tensor and LoD_Tensor <../../../user_guides/howto/basic_concept/lod_tensor_en.html>`_ .
1.create_lod_tensor 1.create_lod_tensor
----------------------- -----------------------
......
...@@ -13,15 +13,15 @@ For beginners of PaddlePaddle, the following documentation will tutor you about ...@@ -13,15 +13,15 @@ For beginners of PaddlePaddle, the following documentation will tutor you about
The following resources are recommended for novices in deep learning: The following resources are recommended for novices in deep learning:
- `Resources <../beginners_guide/basics/learning_materials.html>`_ :Selected books and lectures about machine learning, deep learning and programming languages. - `Resources <../beginners_guide/basics/learning_materials_en.html>`_ :Selected books and lectures about machine learning, deep learning and programming languages.
If you have been armed with certain level of deep learning knowledge, and it happens to be the first time to try PaddlePaddle, the following cases of model building will expedite your learning process: If you have been armed with certain level of deep learning knowledge, and it happens to be the first time to try PaddlePaddle, the following cases of model building will expedite your learning process:
- `Programming with Fluid <../beginners_guide/programming_guide/programming_guide.html>`_ : Core concepts and basic usage of Fluid - `Programming with Fluid <../beginners_guide/programming_guide/programming_guide_en.html>`_ : Core concepts and basic usage of Fluid
- `Quick Start <../beginners_guide/quick_start/index.html>`_: Two easy-to-go models, linear regression model and digit recognition model, are in place to speed up your study of training neural networks - `Quick Start <../beginners_guide/quick_start/index_en.html>`_: Two easy-to-go models, linear regression model and digit recognition model, are in place to speed up your study of training neural networks
- `Deep Learning <../beginners_guide/basics/index.html>`_: This section encompasses various fields of fundamental deep learning knowledge, such as image classification, customized recommendation, machine translation, and examples implemented by Fluid are provided. - `Deep Learning Basics <../beginners_guide/basics/index_en.html>`_: This section encompasses various fields of fundamental deep learning knowledge, such as image classification, customized recommendation, machine translation, and examples implemented by Fluid are provided.
.. toctree:: .. toctree::
...@@ -29,4 +29,4 @@ If you have been armed with certain level of deep learning knowledge, and it hap ...@@ -29,4 +29,4 @@ If you have been armed with certain level of deep learning knowledge, and it hap
install/index_en.rst install/index_en.rst
basics/learning_materials_en.md basics/learning_materials_en.md
programming_guide/programming_guide_en.md
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册