diff --git a/develop/doc/_sources/howto/read_source.md.txt b/develop/doc/_sources/howto/read_source.md.txt index e4211abb3be9cace80bc14dbe3db3e0a31221dd0..31987920f32f217ac2db42548874cfe7da57dd72 100644 --- a/develop/doc/_sources/howto/read_source.md.txt +++ b/develop/doc/_sources/howto/read_source.md.txt @@ -26,16 +26,16 @@ sgd_optimizer = fluid.optimizer.SGD(learning_rate=0.001) sgd_optimizer.minimize(avg_cost) ``` -- Variables: `x`, `y`, `y_predict`, `cost` and `avg_cost`. [Python](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/framework.py#L93) -- Layers: `fluid.layers.data`, `fluid.layers.fc` and `fluid.layers.mean` are layers. [Python](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/layers.py) +- Variables: `x`, `y`, `y_predict`, `cost` and `avg_cost`. [Python](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/framework.py#) +- Layers: `fluid.layers.data`, `fluid.layers.fc` and `fluid.layers.mean` are layers. [Python](https://github.com/PaddlePaddle/Paddle/tree/develop/python/paddle/v2/fluid/layers) - Every Layer has one or more operators and variables/parameters - All the operators are defined at [`paddle/operators/`](https://github.com/PaddlePaddle/Paddle/tree/develop/paddle/operators). Other worth-looking files: - Base class: [`paddle/framework/operator.h`](https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/framework/operator.h) - Operator Registration: [`paddle/framework/op_registry.h`](https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/framework/op_registry.h) - Operator Lookup: [`paddle/framework/op_info.h`](https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/framework/op_info.h) - Optimizer: `fluid.optimizer.SGD`. It does the following - - Add backward operators. [[Python](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/backward.py), [C++](https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/framework/backward.cc)] - - Add optimizer operators. [[Python](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/optimizer.py), [C++](https://github.com/PaddlePaddle/Paddle/tree/develop/paddle/optimizer)] + - Add backward operators. [[Python](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/backward.py)] + - Add optimizer operators. [[Python](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/optimizer.py)] # Run Time diff --git a/develop/doc/howto/read_source.html b/develop/doc/howto/read_source.html index 6786b069fa3f922d5aa8ee89047dbc18df017268..adf950fcfdb6088b696e8d7ba35e94999e2a5513 100644 --- a/develop/doc/howto/read_source.html +++ b/develop/doc/howto/read_source.html @@ -231,8 +231,8 @@
x
, y
, y_predict
, cost
and avg_cost
. Pythonfluid.layers.data
, fluid.layers.fc
and fluid.layers.mean
are layers. Pythonx
, y
, y_predict
, cost
and avg_cost
. Pythonfluid.layers.data
, fluid.layers.fc
and fluid.layers.mean
are layers. Pythonpaddle/operators/
. Other worth-looking files:paddle/framework/operator.h
fluid.optimizer.SGD
. It does the following
x
, y
, y_predict
, cost
and avg_cost
. Pythonfluid.layers.data
, fluid.layers.fc
and fluid.layers.mean
are layers. Pythonx
, y
, y_predict
, cost
and avg_cost
. Pythonfluid.layers.data
, fluid.layers.fc
and fluid.layers.mean
are layers. Pythonpaddle/operators/
. Other worth-looking files:paddle/framework/operator.h
fluid.optimizer.SGD
. It does the following