Merge pull request #519 from luotao1/doc2

modify directory structure in source code
avx_docs
Tao Luo 8 years ago committed by GitHub
commit 661f3c0cdb

@ -1,5 +1,5 @@
API API
======== ===
.. doxygenfile:: paddle/api/PaddleAPI.h .. doxygenfile:: paddle/api/PaddleAPI.h
.. doxygenfile:: paddle/api/Internal.h .. doxygenfile:: paddle/api/Internal.h

@ -1,39 +0,0 @@
Cuda
=============
Dynamic Link Libs
--------------------------
hl_dso_loader.h
``````````````````
.. doxygenfile:: paddle/cuda/include/hl_dso_loader.h
GPU Resources
----------------
hl_cuda.ph
``````````````
.. doxygenfile:: paddle/cuda/include/hl_cuda.ph
hl_cuda.h
``````````````
.. doxygenfile:: paddle/cuda/include/hl_cuda.h
CUDA Wrapper
--------------
hl_cuda_cublas.h
``````````````````````
.. doxygenfile:: paddle/cuda/include/hl_cuda_cublas.h
hl_cuda_cudnn.h
``````````````````````
.. doxygenfile:: paddle/cuda/include/hl_cuda_cudnn.h
hl_cuda_cudnn.h
``````````````````````
.. doxygenfile:: paddle/cuda/include/hl_cuda_cudnn.ph

@ -1,7 +0,0 @@
CUDA
====================
.. toctree::
:maxdepth: 3
cuda.rst

@ -0,0 +1,9 @@
CUDA
====
.. toctree::
:maxdepth: 2
matrix.rst
nn.rst
utils.rst

@ -1,61 +1,59 @@
Matrix Matrix
======= ======
Base Matrix Base
------------- ----
hl_matrix.h hl_matrix.h
`````````````````` ```````````
.. doxygenfile:: paddle/cuda/include/hl_matrix.h .. doxygenfile:: paddle/cuda/include/hl_matrix.h
hl_matrix_base.h hl_matrix_base.h
`````````````````` ````````````````
.. doxygenfile:: paddle/cuda/include/hl_matrix_base.cuh .. doxygenfile:: paddle/cuda/include/hl_matrix_base.cuh
hl_matrix_apply.cuh hl_matrix_apply.cuh
`````````````````````` ```````````````````
.. doxygenfile:: paddle/cuda/include/hl_matrix_apply.cuh .. doxygenfile:: paddle/cuda/include/hl_matrix_apply.cuh
hl_matrix_ops.cuh hl_matrix_ops.cuh
`````````````````````` `````````````````
.. doxygenfile:: paddle/cuda/include/hl_matrix_ops.cuh .. doxygenfile:: paddle/cuda/include/hl_matrix_ops.cuh
hl_matrix_type.cuh hl_matrix_type.cuh
`````````````````````` ``````````````````
.. doxygenfile:: paddle/cuda/include/hl_matrix_type.cuh .. doxygenfile:: paddle/cuda/include/hl_matrix_type.cuh
hl_sse_matrix_kernel.cuh hl_sse_matrix_kernel.cuh
`````````````````````````` ````````````````````````
.. doxygenfile:: paddle/cuda/include/hl_sse_matrix_kernel.cuh .. doxygenfile:: paddle/cuda/include/hl_sse_matrix_kernel.cuh
Matrix Function
---------------
hl_batch_transpose.h hl_batch_transpose.h
`````````````````````````` ````````````````````
.. doxygenfile:: paddle/cuda/include/hl_batch_transpose.h .. doxygenfile:: paddle/cuda/include/hl_batch_transpose.h
Sparse Matrix
--------------
hl_sparse.h
``````````````````
.. doxygenfile:: paddle/cuda/include/hl_sparse.h
hl_sparse.ph
``````````````````````
.. doxygenfile:: paddle/cuda/include/hl_sparse.ph
Others
---------------
hl_aggregate.h hl_aggregate.h
`````````````````` ``````````````
.. doxygenfile:: paddle/cuda/include/hl_aggregate.h .. doxygenfile:: paddle/cuda/include/hl_aggregate.h
hl_top_k.h
``````````
.. doxygenfile:: paddle/cuda/include/hl_top_k.h
hl_table_apply.h hl_table_apply.h
`````````````````` ````````````````
.. doxygenfile:: paddle/cuda/include/hl_table_apply.h .. doxygenfile:: paddle/cuda/include/hl_table_apply.h
hl_top_k.h Sparse Matrix
`````````````````` -------------
.. doxygenfile:: paddle/cuda/include/hl_top_k.h
hl_sparse.h
```````````
.. doxygenfile:: paddle/cuda/include/hl_sparse.h
hl_sparse.ph
````````````
.. doxygenfile:: paddle/cuda/include/hl_sparse.ph

@ -1,7 +0,0 @@
Matrix
====================
.. toctree::
:maxdepth: 3
matrix.rst

@ -1,36 +1,39 @@
Neural Networks Neural Network
================== ==============
Base Base
------- ----
.. doxygenfile:: paddle/cuda/include/hl_gpu.h .. doxygenfile:: paddle/cuda/include/hl_gpu.h
.. doxygenfile:: paddle/cuda/include/hl_cnn.h
.. doxygenfile:: paddle/cuda/include/hl_functions.h .. doxygenfile:: paddle/cuda/include/hl_functions.h
.. doxygenfile:: paddle/cuda/include/hl_avx_functions.h .. doxygenfile:: paddle/cuda/include/hl_avx_functions.h
.. doxygenfile:: paddle/cuda/include/hl_device_functions.cuh
.. doxygenfile:: paddle/cuda/include/hl_gpu_functions.cuh .. doxygenfile:: paddle/cuda/include/hl_gpu_functions.cuh
Activation Functions
-----------------------
.. doxygenfile:: paddle/cuda/include/hl_activation_functions.h .. doxygenfile:: paddle/cuda/include/hl_activation_functions.h
CNN Related APIs
----------------
.. doxygenfile:: paddle/cuda/include/hl_cnn.h
.. doxygenfile:: paddle/cuda/include/hl_cuda_cudnn.h
.. doxygenfile:: paddle/cuda/include/hl_cuda_cudnn.ph
RNN Related APIs RNN Related APIs
----------------- ----------------
.. doxygenfile:: paddle/cuda/include/hl_recurrent_apply.cuh .. doxygenfile:: paddle/cuda/include/hl_recurrent_apply.cuh
.. doxygenfile:: paddle/cuda/include/hl_sequence.h .. doxygenfile:: paddle/cuda/include/hl_sequence.h
LSTM Model LSTM Model
`````````````` ``````````
.. doxygenfile:: paddle/cuda/include/hl_lstm.h .. doxygenfile:: paddle/cuda/include/hl_lstm.h
.. dpxygenfile:: paddle/cuda/include/hl_cpu_lstm.cuh .. dpxygenfile:: paddle/cuda/include/hl_cpu_lstm.cuh
.. doxygenfile:: paddle/cuda/include/hl_gpu_lstm.cuh .. doxygenfile:: paddle/cuda/include/hl_gpu_lstm.cuh
.. doxygenfile:: paddle/cuda/include/hl_lstm_ops.cuh .. doxygenfile:: paddle/cuda/include/hl_lstm_ops.cuh
GRU Model GRU Model
```````````````` `````````
.. doxygenfile:: paddle/cuda/include/hl_gru_ops.cuh .. doxygenfile:: paddle/cuda/include/hl_gru_ops.cuh
.. doxygenfile:: paddle/cuda/include/hl_cpu_gru.cuh .. doxygenfile:: paddle/cuda/include/hl_cpu_gru.cuh
.. doxygenfile:: paddle/cuda/include/hl_gpu_gru.cuh .. doxygenfile:: paddle/cuda/include/hl_gpu_gru.cuh

@ -1,7 +0,0 @@
RNN
====================
.. toctree::
:maxdepth: 3
rnn.rst

@ -0,0 +1,37 @@
Utils
=====
Dynamic Link Libs
-----------------
.. doxygenfile:: paddle/cuda/include/hl_dso_loader.h
GPU Resources
-------------
hl_cuda.ph
``````````
.. doxygenfile:: paddle/cuda/include/hl_cuda.ph
hl_cuda.h
`````````
.. doxygenfile:: paddle/cuda/include/hl_cuda.h
HPPL Base
---------
.. doxygenfile:: paddle/cuda/include/hl_base.h
CUBLAS Wrapper
--------------
.. doxygenfile:: paddle/cuda/include/hl_cuda_cublas.h
Timer
-----
.. doxygenfile:: paddle/cuda/include/hl_time.h
Thread Resource
---------------
.. doxygenfile:: paddle/cuda/include/hl_thread.ph
Device Function
---------------
.. doxygenfile:: paddle/cuda/include/hl_device_functions.cuh

@ -1,7 +0,0 @@
Utils
====================
.. toctree::
:maxdepth: 3
utils.rst

@ -1,23 +0,0 @@
Utilities
===========
HPPL Base
------------
hl_base.h
``````````````
.. doxygenfile:: paddle/cuda/include/hl_base.h
Timer
-----------
hl_time.h
``````````````
.. doxygenfile:: paddle/cuda/include/hl_time.h
Thread Resource
-----------
hl_thread.ph
``````````````
.. doxygenfile:: paddle/cuda/include/hl_thread.ph

@ -1,5 +1,5 @@
Activations Activations
============= ===========
.. doxygenclass:: paddle::ActivationFunction .. doxygenclass:: paddle::ActivationFunction
:members: :members:

@ -1,7 +0,0 @@
Data Providers Documents
==========================
.. toctree::
:maxdepth: 3
dataproviders.rst

@ -1,23 +1,27 @@
==============
Data Providers Data Providers
================ ==============
Base DataProvider DataProviders
------------------ =============
Base
----
.. doxygenclass:: paddle::DataProvider .. doxygenclass:: paddle::DataProvider
:members: :members:
DataProviderGroup DataProviderGroup
------------------- -----------------
.. doxygenclass:: paddle::DataProviderGroup .. doxygenclass:: paddle::DataProviderGroup
:members: :members:
MultiDataProvider MultiDataProvider
------------------- -----------------
.. doxygenclass:: paddle::MultiDataProvider .. doxygenclass:: paddle::MultiDataProvider
:members: :members:
PyDataProvider PyDataProvider
=================== ==============
IFieldScanner IFieldScanner
------------- -------------
@ -45,7 +49,7 @@ SparseValueScanner
:members: :members:
SequenceScanner SequenceScanner
------------------ ---------------
.. doxygenclass:: paddle::SparseValueScanner .. doxygenclass:: paddle::SparseValueScanner
:members: :members:
@ -70,7 +74,7 @@ IPyDataProvider
:members: :members:
ProtoDataProvider ProtoDataProvider
=================== =================
ProtoDataProvider ProtoDataProvider
---------------- ----------------
@ -78,6 +82,6 @@ ProtoDataProvider
:members: :members:
ProtoSequenceDataProvider ProtoSequenceDataProvider
---------------- -------------------------
.. doxygenclass:: paddle::ProtoSequenceDataProvider .. doxygenclass:: paddle::ProtoSequenceDataProvider
:members: :members:

@ -1,14 +1,15 @@
Base Evaluator ==========
============== Evaluators
==========
Base
====
Evaluator
---------
.. doxygenclass:: paddle::Evaluator .. doxygenclass:: paddle::Evaluator
:members: :members:
Sum
Utils ===
=====
SumEvaluator SumEvaluator
------------ ------------

@ -1,7 +0,0 @@
Evaluators
==========
.. toctree::
:maxdepth: 3
evaluators.rst

@ -1,18 +1,18 @@
Gradient Machines Gradient Machines
================ =================
GradientMachine GradientMachine
--------------------- ---------------
.. doxygenclass:: paddle::GradientMachine .. doxygenclass:: paddle::GradientMachine
:members: :members:
GradientMachineModel GradientMachineMode
-------------------- -------------------
.. doxygenclass:: paddle::IGradientMachineMode .. doxygenclass:: paddle::IGradientMachineMode
:members: :members:
MultiGradientMachine MultiGradientMachine
--------------------- --------------------
.. doxygenclass:: paddle::MultiGradientMachine .. doxygenclass:: paddle::MultiGradientMachine
:members: :members:
@ -21,20 +21,7 @@ TrainerThread
.. doxygenclass:: paddle::TrainerThread .. doxygenclass:: paddle::TrainerThread
:members: :members:
Recurrent Gradient Machines RecurrentGradientMachine
--------------------------- ------------------------
.. doxygenclass:: paddle::RecurrentGradientMachine .. doxygenclass:: paddle::RecurrentGradientMachine
:members: :members:
Networks
========
NeuralNetwork
-------------
.. doxygenclass:: paddle::NeuralNetwork
:members:
ParallelNeuralNetwork
---------------------
.. doxygenclass:: paddle::ParallelNeuralNetwork
:members:

@ -1,7 +0,0 @@
Gradient Machines Documents
=============================
.. toctree::
:maxdepth: 3
gradientmachines.rst

@ -0,0 +1,12 @@
GServer
=======
.. toctree::
:maxdepth: 2
activations.rst
dataproviders.rst
evaluators.rst
gradientmachines.rst
layers.rst
neworks.rst

@ -1,6 +1,10 @@
Base ======
Layers
====== ======
Base
====
Layer Layer
----- -----
.. doxygenclass:: paddle::Layer .. doxygenclass:: paddle::Layer
@ -17,7 +21,7 @@ Operator
:members: :members:
Data Layer Data Layer
=========== ==========
.. doxygenclass:: paddle::DataLayer .. doxygenclass:: paddle::DataLayer
:members: :members:
@ -58,6 +62,11 @@ CudnnConvLayer
.. doxygenclass:: paddle::CudnnConvLayer .. doxygenclass:: paddle::CudnnConvLayer
:members: :members:
ExpandConvBaseLayer
-------------------
.. doxygenclass:: paddle::ExpandConvBaseLayer
:members:
ExpandConvLayer ExpandConvLayer
--------------- ---------------
.. doxygenclass:: paddle::ExpandConvLayer .. doxygenclass:: paddle::ExpandConvLayer
@ -86,6 +95,16 @@ CudnnPoolLayer
.. doxygenclass:: paddle::CudnnPoolLayer .. doxygenclass:: paddle::CudnnPoolLayer
:members: :members:
SpatialPyramidPoolLayer
-----------------------
.. doxygenclass:: paddle::SpatialPyramidPoolLayer
:members:
MaxOutLayer
-----------
.. doxygenclass:: paddle::MaxOutLayer
:members:
Norm Layers Norm Layers
=========== ===========
@ -402,6 +421,11 @@ TransLayer
Sampling Layers Sampling Layers
=============== ===============
BilinearInterpLayer
-------------------
.. doxygenclass:: paddle::BilinearInterpLayer
:members:
MultinomialSampler MultinomialSampler
------------------ ------------------
.. doxygenclass:: paddle::MultinomialSampler .. doxygenclass:: paddle::MultinomialSampler

@ -1,7 +0,0 @@
Layers Documents
====================
.. toctree::
:maxdepth: 3
layer.rst

@ -0,0 +1,12 @@
Networks
========
NeuralNetwork
-------------
.. doxygenclass:: paddle::NeuralNetwork
:members:
ParallelNeuralNetwork
---------------------
.. doxygenclass:: paddle::ParallelNeuralNetwork
:members:

@ -1,49 +0,0 @@
# Source Code Documents
## cuda
- [CUDA](cuda/cuda/index.rst)
- [Matrix](cuda/matrix/index.rst)
- [RNN](cuda/rnn/index.rst)
- [Utils](cuda/utils/index.rst)
## gserver
- [Activations](gserver/activations/index.rst)
- [Data Providers](gserver/dataprovider/index.rst)
- [Evaluators](gserver/evaluators/index.rst)
- [Gradient Machines](gserver/gradientmachines/index.rst)
- [Layers](gserver/layers/index.rst)
## math
- [Matrix](math/matrix/index.rst)
- [Utils](math/utils/index.rst)
## parameter
- [Parameter](parameter/parameter/index.rst)
- [Update](parameter/update/index.rst)
- [Optimizer](parameter/optimizer/index.rst)
## pserver
- [Client](pserver/client/index.rst)
- [Network](pserver/network/index.rst)
- [Server](pserver/server/index.rst)
## trainer
- [Trainer](trainer/trainer.rst)
## api
- [API](api/api.rst)
## utils
- [CustomStackTrace](utils/customStackTrace.rst)
- [Enumeration wrapper](utils/enum.rst)
- [Lock](utils/lock.rst)
- [Queue](utils/queue.rst)
- [Thread](utils/thread.rst)

@ -0,0 +1,14 @@
Source Code Documents
=====================
.. toctree::
:maxdepth: 1
gserver/index.rst
trainer.rst
parameter/index.rst
pserver/index.rst
api.rst
cuda/index.rst
math/index.rst
utils/index.rst

@ -0,0 +1,10 @@
Functions
=========
MathFunctions
-------------
.. doxygenfile:: paddle/math/MathFunctions.h
SIMDFunctions
-------------
.. doxygenfile:: paddle/math/SIMDFunctions.h

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

Loading…
Cancel
Save