Fix some errors (#9403)

helinwang-patch-1
weixing 7 years ago committed by Shan Yi
parent c414fbbeb1
commit a75de489c5

@ -0,0 +1 @@
../../v2/build_and_install/build_from_source_cn.rst

@ -0,0 +1 @@
../../v2/build_and_install/build_from_source_en.rst

@ -0,0 +1 @@
../../v2/build_and_install/docker_install_cn.rst

@ -0,0 +1 @@
../../v2/build_and_install/docker_install_en.rst

@ -1,2 +0,0 @@
安装与使用
------------

@ -0,0 +1 @@
../../v2/build_and_install/index_cn.rst

@ -1,2 +0,0 @@
Build and Install
------------

@ -0,0 +1 @@
../../v2/build_and_install/index_en.rst

@ -0,0 +1 @@
../../v2/build_and_install/pip_install_cn.rst

@ -0,0 +1 @@
../../v2/build_and_install/pip_install_en.rst

@ -0,0 +1,7 @@
梯度更新算法
------------
.. toctree::
:maxdepth: 1
parameter_average.md

@ -0,0 +1,7 @@
Gradient Update Algorithm
--------------------------------------
.. toctree::
:maxdepth: 1
parameter_average.md

@ -2,7 +2,7 @@ A few months ago when we were trying to replace CMake with Bazel, @emailweixu su
Here are some initial thoughts. Your comments are welcome!
### Required CMake Function
# Required CMake Function
I think we need only the following few CMake functions to make a project description mean and clean:
@ -25,7 +25,7 @@ Also,
- to describe external dependencies, we need `external_library`.
- to build shared libraries, we need `shared_library`.
### An Example Project
## An Example Project
Suppose that we have aforementioned functions defined in our `/cmake` directory. The following example `CMakeLists.txt` describes a project including the following source files:
@ -102,11 +102,11 @@ shared_library(api
```
### Implementation
## Implementation
As above example CMakeLists.txt executes, each function invocation adds "nodes" to a dependency graph. It also use this graph to generate CMake commands including `add_executable`, `add_dependencies`, `target_link_libraries`, and `add_test`.
### Using Package Manager For Go
## Using Package Manager For Go
Building Go binaries and libraries need to satisfy their dependencies, generally
we can do `go get ./...` to download and compile all external dependencies. The
@ -122,7 +122,7 @@ problems are:
at many cloud file hosting, so users what to compile paddle by themselves can
download this "vendor" package from a mirror site.
#### Choose A Suitable Tool
### Choose A Suitable Tool
As mentioned by @wangkuiyi, [Here](https://github.com/golang/go/wiki/PackageManagementTools)
list dozens of Go package managers. We choose the tool using following principles:
@ -140,7 +140,7 @@ management tool has been started at: https://github.com/golang/dep to resolve
such problems, but it's currently at Alpha stage. So the best choice now is
glide obviously.
#### Manage Go Packages
### Manage Go Packages
- Dependencies: `go/glide.yaml` will store the dependencies and their versions which
is directly imported by paddle. `go/glide.lock` will store all dependencies recursively

@ -0,0 +1,18 @@
核心概念
-------------
.. toctree::
:maxdepth: 1
README.md
cpp_data_feeding.md
functions_operators_layers.md
program.md
variable.md
var_desc.md
tensor.md
tensor_array.md
lod_tensor.md
block.md
scope.md
executor.md

@ -0,0 +1,18 @@
Core Concepts
--------------------------------------
.. toctree::
:maxdepth: 1
README.md
cpp_data_feeding.md
functions_operators_layers.md
program.md
variable.md
var_desc.md
tensor.md
tensor_array.md
lod_tensor.md
block.md
scope.md
executor.md

@ -30,7 +30,7 @@ Scope is an association of a name to variable. All variables belong to `Scope`.
Variable can not belong to many scopes. If you want to use variables from parent scope, you can use `parent scope`.
1. Scope should destruct all Variables inside it when itself is destructed. User can never store `Variable` pointer somewhere else.
1. Scope should destruct all Variables inside it when itself is destructed. User can never store `Variable` pointer somewhere else.
Because Variable can only be got from Scope. When destroying Scope, we also need to destroy all the Variables in it. If user store `Variable` pointer to private data member or some global variable, the pointer will be an invalid pointer when associated `Scope` is destroyed.
@ -78,7 +78,7 @@ In `Scope` class, there is a private data member called `parent_`. `parent_` is
A local scope is very useful when we implement Recurrent Neural Network. Each timestep of an RNN should be a `Net`. Each `Net` of timestep (`StepNet` for short) should use an independent local scope. Just like variables in a while loop is inside a local scope in programming languages. By using a single `StepNet` and changing local scope, we can implement an RNN easily.
# Interface Design
## Interface Design
```cpp
class Variable {

@ -1,3 +1,5 @@
# Design Doc: Var_desc
## Background
PaddlePaddle divides the description of neural network computation into two stages: compile time and runtime. At compile time, the neural network computation is described as a `ProgramDesc` whereas at runtime an `Executor` interprets the `ProgramDesc` to compute the operations.

@ -0,0 +1,8 @@
并发编程
------------
.. toctree::
:maxdepth: 1
concurrent_programming.md
parallel_do.md

@ -0,0 +1,8 @@
Concurrent Programming
-------------------------
.. toctree::
:maxdepth: 1
concurrent_programming.md
parallel_do.md

@ -0,0 +1,7 @@
数据类型
------------
.. toctree::
:maxdepth: 1
float16.md

@ -0,0 +1,7 @@
Data Type
------------
.. toctree::
:maxdepth: 1
float16.md

@ -1,4 +1,4 @@
## Design Doc: Distributed Lookup Table Operator
# Design Doc: Distributed Lookup Table Operator
A lookup table operator in PaddlePaddle where the table could be out
of the memory of a computer.

@ -0,0 +1,9 @@
分布式训练
------------
.. toctree::
:maxdepth: 1
distributed_architecture.md
distributed_lookup_table_design.md
parameter_server.md

@ -0,0 +1,9 @@
Distributed Training
---------------------
.. toctree::
:maxdepth: 1
distributed_architecture.md
distributed_lookup_table_design.md
parameter_server.md

@ -0,0 +1,8 @@
动态RNN
------------
.. toctree::
:maxdepth: 1
rnn.md
rnn_design.md

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save