Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleDetection
提交
5b2de50c
P
PaddleDetection
项目概览
PaddlePaddle
/
PaddleDetection
大约 1 年 前同步成功
通知
694
Star
11112
Fork
2696
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
184
列表
看板
标记
里程碑
合并请求
40
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
184
Issue
184
列表
看板
标记
里程碑
合并请求
40
合并请求
40
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5b2de50c
编写于
5月 24, 2018
作者:
W
weixing
提交者:
Shan Yi
5月 24, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add some new api documentations (#10637)
上级
0cd3d461
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
344 addition
and
69 deletion
+344
-69
doc/fluid/api/clip.rst
doc/fluid/api/clip.rst
+47
-0
doc/fluid/api/evaluator.rst
doc/fluid/api/evaluator.rst
+0
-21
doc/fluid/api/executor.rst
doc/fluid/api/executor.rst
+6
-0
doc/fluid/api/gen_doc.sh
doc/fluid/api/gen_doc.sh
+1
-1
doc/fluid/api/index_en.rst
doc/fluid/api/index_en.rst
+2
-1
doc/fluid/api/initializer.rst
doc/fluid/api/initializer.rst
+9
-10
doc/fluid/api/layers.rst
doc/fluid/api/layers.rst
+204
-34
doc/fluid/api/metrics.rst
doc/fluid/api/metrics.rst
+56
-0
doc/fluid/api/optimizer.rst
doc/fluid/api/optimizer.rst
+9
-0
doc/fluid/api/regularizer.rst
doc/fluid/api/regularizer.rst
+10
-2
未找到文件。
doc/fluid/api/clip.rst
0 → 100644
浏览文件 @
5b2de50c
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
====
clip
====
ErrorClipByValue
----------------
.. autoclass:: paddle.fluid.clip.ErrorClipByValue
:members:
:noindex:
GradientClipByValue
-------------------
.. autoclass:: paddle.fluid.clip.GradientClipByValue
:members:
:noindex:
GradientClipByNorm
------------------
.. autoclass:: paddle.fluid.clip.GradientClipByNorm
:members:
:noindex:
GradientClipByGlobalNorm
------------------------
.. autoclass:: paddle.fluid.clip.GradientClipByGlobalNorm
:members:
:noindex:
append_gradient_clip_ops
------------------------
.. autofunction:: paddle.fluid.clip.append_gradient_clip_ops
:noindex:
error_clip_callback
-------------------
.. autofunction:: paddle.fluid.clip.error_clip_callback
:noindex:
doc/fluid/api/evaluator.rst
浏览文件 @
5b2de50c
...
@@ -5,24 +5,3 @@
...
@@ -5,24 +5,3 @@
evaluator
evaluator
=========
=========
ChunkEvaluator
--------------
.. autoclass:: paddle.fluid.evaluator.ChunkEvaluator
:members:
:noindex:
EditDistance
--------------
.. autoclass:: paddle.fluid.evaluator.EditDistance
:members:
:noindex:
DetectionMAP
--------------
.. autoclass:: paddle.fluid.evaluator.DetectionMAP
:members:
:noindex:
doc/fluid/api/executor.rst
浏览文件 @
5b2de50c
...
@@ -30,3 +30,9 @@ switch_scope
...
@@ -30,3 +30,9 @@ switch_scope
.. autofunction:: paddle.fluid.executor.switch_scope
.. autofunction:: paddle.fluid.executor.switch_scope
:noindex:
:noindex:
fetch_var
---------
.. autofunction:: paddle.fluid.executor.fetch_var
:noindex:
doc/fluid/api/gen_doc.sh
浏览文件 @
5b2de50c
#!/bin/bash
#!/bin/bash
python gen_doc.py layers
--submodules
control_flow device io nn ops tensor
>
layers.rst
python gen_doc.py layers
--submodules
control_flow device io nn ops tensor
>
layers.rst
for
module
in
io data_feeder evaluator
executor initializer io nets optimizer param_attr profiler regularizer
for
module
in
data_feeder clip metrics
executor initializer io nets optimizer param_attr profiler regularizer
do
do
python gen_doc.py
${
module
}
>
${
module
}
.rst
python gen_doc.py
${
module
}
>
${
module
}
.rst
done
done
doc/fluid/api/index_en.rst
浏览文件 @
5b2de50c
...
@@ -9,8 +9,9 @@ Fluid
...
@@ -9,8 +9,9 @@ Fluid
data_feeder.rst
data_feeder.rst
executor.rst
executor.rst
initializer.rst
initializer.rst
evaluator
.rst
metrics
.rst
nets.rst
nets.rst
clip.rst
optimizer.rst
optimizer.rst
param_attr.rst
param_attr.rst
profiler.rst
profiler.rst
...
...
doc/fluid/api/initializer.rst
浏览文件 @
5b2de50c
...
@@ -33,11 +33,16 @@ Xavier
...
@@ -33,11 +33,16 @@ Xavier
:members:
:members:
:noindex:
:noindex:
MSRA
force_init_on_cpu
------
------
-----------
.. autoclass:: paddle.fluid.initializer.MSRA
.. autofunction:: paddle.fluid.initializer.force_init_on_cpu
:members:
:noindex:
init_on_cpu
-----------
.. autofunction:: paddle.fluid.initializer.init_on_cpu
:noindex:
:noindex:
ConstantInitializer
ConstantInitializer
...
@@ -68,9 +73,3 @@ XavierInitializer
...
@@ -68,9 +73,3 @@ XavierInitializer
:members:
:members:
:noindex:
:noindex:
MSRAInitializer
-----------------
.. autoclass:: paddle.fluid.initializer.MSRAInitializer
:members:
:noindex:
doc/fluid/api/layers.rst
浏览文件 @
5b2de50c
...
@@ -55,6 +55,13 @@ While
...
@@ -55,6 +55,13 @@ While
:members:
:members:
:noindex:
:noindex:
Switch
------
.. autoclass:: paddle.fluid.layers.Switch
:members:
:noindex:
lod_rank_table
lod_rank_table
--------------
--------------
...
@@ -67,12 +74,6 @@ max_sequence_len
...
@@ -67,12 +74,6 @@ max_sequence_len
.. autofunction:: paddle.fluid.layers.max_sequence_len
.. autofunction:: paddle.fluid.layers.max_sequence_len
:noindex:
:noindex:
topk
----
.. autofunction:: paddle.fluid.layers.topk
:noindex:
lod_tensor_to_array
lod_tensor_to_array
-------------------
-------------------
...
@@ -109,6 +110,12 @@ less_than
...
@@ -109,6 +110,12 @@ less_than
.. autofunction:: paddle.fluid.layers.less_than
.. autofunction:: paddle.fluid.layers.less_than
:noindex:
:noindex:
equal
-----
.. autofunction:: paddle.fluid.layers.equal
:noindex:
array_read
array_read
----------
----------
...
@@ -212,6 +219,42 @@ Send
...
@@ -212,6 +219,42 @@ Send
.. autofunction:: paddle.fluid.layers.Send
.. autofunction:: paddle.fluid.layers.Send
:noindex:
:noindex:
open_recordio_file
------------------
.. autofunction:: paddle.fluid.layers.open_recordio_file
:noindex:
open_files
----------
.. autofunction:: paddle.fluid.layers.open_files
:noindex:
read_file
---------
.. autofunction:: paddle.fluid.layers.read_file
:noindex:
shuffle
-------
.. autofunction:: paddle.fluid.layers.shuffle
:noindex:
batch
-----
.. autofunction:: paddle.fluid.layers.batch
:noindex:
double_buffer
-------------
.. autofunction:: paddle.fluid.layers.double_buffer
:noindex:
nn
nn
==
==
...
@@ -281,12 +324,6 @@ square_error_cost
...
@@ -281,12 +324,6 @@ square_error_cost
.. autofunction:: paddle.fluid.layers.square_error_cost
.. autofunction:: paddle.fluid.layers.square_error_cost
:noindex:
:noindex:
accuracy
--------
.. autofunction:: paddle.fluid.layers.accuracy
:noindex:
chunk_eval
chunk_eval
----------
----------
...
@@ -311,6 +348,18 @@ sequence_pool
...
@@ -311,6 +348,18 @@ sequence_pool
.. autofunction:: paddle.fluid.layers.sequence_pool
.. autofunction:: paddle.fluid.layers.sequence_pool
:noindex:
:noindex:
sequence_softmax
----------------
.. autofunction:: paddle.fluid.layers.sequence_softmax
:noindex:
softmax
-------
.. autofunction:: paddle.fluid.layers.softmax
:noindex:
pool2d
pool2d
------
------
...
@@ -323,12 +372,6 @@ batch_norm
...
@@ -323,12 +372,6 @@ batch_norm
.. autofunction:: paddle.fluid.layers.batch_norm
.. autofunction:: paddle.fluid.layers.batch_norm
:noindex:
:noindex:
layer_norm
----------
.. autofunction:: paddle.fluid.layers.layer_norm
:noindex:
beam_search_decode
beam_search_decode
------------------
------------------
...
@@ -377,6 +420,12 @@ reduce_min
...
@@ -377,6 +420,12 @@ reduce_min
.. autofunction:: paddle.fluid.layers.reduce_min
.. autofunction:: paddle.fluid.layers.reduce_min
:noindex:
:noindex:
reduce_prod
-----------
.. autofunction:: paddle.fluid.layers.reduce_prod
:noindex:
sequence_first_step
sequence_first_step
-------------------
-------------------
...
@@ -425,6 +474,12 @@ matmul
...
@@ -425,6 +474,12 @@ matmul
.. autofunction:: paddle.fluid.layers.matmul
.. autofunction:: paddle.fluid.layers.matmul
:noindex:
:noindex:
topk
----
.. autofunction:: paddle.fluid.layers.topk
:noindex:
warpctc
warpctc
-------
-------
...
@@ -473,6 +528,60 @@ multiplex
...
@@ -473,6 +528,60 @@ multiplex
.. autofunction:: paddle.fluid.layers.multiplex
.. autofunction:: paddle.fluid.layers.multiplex
:noindex:
:noindex:
layer_norm
----------
.. autofunction:: paddle.fluid.layers.layer_norm
:noindex:
softmax_with_cross_entropy
--------------------------
.. autofunction:: paddle.fluid.layers.softmax_with_cross_entropy
:noindex:
smooth_l1
---------
.. autofunction:: paddle.fluid.layers.smooth_l1
:noindex:
one_hot
-------
.. autofunction:: paddle.fluid.layers.one_hot
:noindex:
autoincreased_step_counter
--------------------------
.. autofunction:: paddle.fluid.layers.autoincreased_step_counter
:noindex:
reshape
-------
.. autofunction:: paddle.fluid.layers.reshape
:noindex:
lod_reset
---------
.. autofunction:: paddle.fluid.layers.lod_reset
:noindex:
lrn
---
.. autofunction:: paddle.fluid.layers.lrn
:noindex:
pad
---
.. autofunction:: paddle.fluid.layers.pad
:noindex:
label_smooth
label_smooth
------------
------------
...
@@ -480,7 +589,7 @@ label_smooth
...
@@ -480,7 +589,7 @@ label_smooth
:noindex:
:noindex:
roi_pool
roi_pool
--------
-
--------
.. autofunction:: paddle.fluid.layers.roi_pool
.. autofunction:: paddle.fluid.layers.roi_pool
:noindex:
:noindex:
...
@@ -501,18 +610,6 @@ mul
...
@@ -501,18 +610,6 @@ mul
.. autofunction:: paddle.fluid.layers.mul
.. autofunction:: paddle.fluid.layers.mul
:noindex:
:noindex:
reshape
-------
.. autofunction:: paddle.fluid.layers.reshape
:noindex:
pad
---
.. autofunction:: paddle.fluid.layers.pad
:noindex:
scale
scale
-----
-----
...
@@ -579,10 +676,70 @@ clip_by_norm
...
@@ -579,10 +676,70 @@ clip_by_norm
.. autofunction:: paddle.fluid.layers.clip_by_norm
.. autofunction:: paddle.fluid.layers.clip_by_norm
:noindex:
:noindex:
sequence_softmax
logical_and
-----------
-----
-----------
.. autofunction:: paddle.fluid.layers.sequence_softmax
.. autofunction:: paddle.fluid.layers.logical_and
:noindex:
logical_or
----------
.. autofunction:: paddle.fluid.layers.logical_or
:noindex:
logical_xor
-----------
.. autofunction:: paddle.fluid.layers.logical_xor
:noindex:
logical_not
-----------
.. autofunction:: paddle.fluid.layers.logical_not
:noindex:
uniform_random
--------------
.. autofunction:: paddle.fluid.layers.uniform_random
:noindex:
uniform_random_batch_size_like
------------------------------
.. autofunction:: paddle.fluid.layers.uniform_random_batch_size_like
:noindex:
gaussian_random
---------------
.. autofunction:: paddle.fluid.layers.gaussian_random
:noindex:
gaussian_random_batch_size_like
-------------------------------
.. autofunction:: paddle.fluid.layers.gaussian_random_batch_size_like
:noindex:
cumsum
------
.. autofunction:: paddle.fluid.layers.cumsum
:noindex:
scatter
-------
.. autofunction:: paddle.fluid.layers.scatter
:noindex:
sum
---
.. autofunction:: paddle.fluid.layers.sum
:noindex:
:noindex:
sigmoid
sigmoid
...
@@ -651,6 +808,18 @@ floor
...
@@ -651,6 +808,18 @@ floor
.. autofunction:: paddle.fluid.layers.floor
.. autofunction:: paddle.fluid.layers.floor
:noindex:
:noindex:
cos
---
.. autofunction:: paddle.fluid.layers.cos
:noindex:
sin
---
.. autofunction:: paddle.fluid.layers.sin
:noindex:
round
round
-----
-----
...
@@ -839,3 +1008,4 @@ ____
...
@@ -839,3 +1008,4 @@ ____
.. autofunction:: paddle.fluid.layers.bilinear_interp
.. autofunction:: paddle.fluid.layers.bilinear_interp
:noindex:
:noindex:
doc/fluid/api/metrics.rst
0 → 100644
浏览文件 @
5b2de50c
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
=======
metrics
=======
MetricBase
----------
.. autoclass:: paddle.fluid.metrics.MetricBase
:members:
:noindex:
CompositeMetric
---------------
.. autoclass:: paddle.fluid.metrics.CompositeMetric
:members:
:noindex:
Accuracy
--------
.. autoclass:: paddle.fluid.metrics.Accuracy
:members:
:noindex:
ChunkEvaluator
--------------
.. autoclass:: paddle.fluid.metrics.ChunkEvaluator
:members:
:noindex:
EditDistance
------------
.. autoclass:: paddle.fluid.metrics.EditDistance
:members:
:noindex:
DetectionMAP
------------
.. autoclass:: paddle.fluid.metrics.DetectionMAP
:members:
:noindex:
Auc
---
.. autoclass:: paddle.fluid.metrics.Auc
:members:
:noindex:
doc/fluid/api/optimizer.rst
浏览文件 @
5b2de50c
...
@@ -111,6 +111,7 @@ DecayedAdagradOptimizer
...
@@ -111,6 +111,7 @@ DecayedAdagradOptimizer
:members:
:members:
:noindex:
:noindex:
AdadeltaOptimizer
AdadeltaOptimizer
-----------------
-----------------
...
@@ -118,9 +119,17 @@ AdadeltaOptimizer
...
@@ -118,9 +119,17 @@ AdadeltaOptimizer
:members:
:members:
:noindex:
:noindex:
RMSPropOptimizer
RMSPropOptimizer
-----------------
-----------------
.. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer
.. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer
:members:
:members:
:noindex:
:noindex:
Optimizer
---------
.. autoclass:: paddle.fluid.optimizer.Optimizer
:members:
:noindex:
doc/fluid/api/regularizer.rst
浏览文件 @
5b2de50c
...
@@ -11,6 +11,13 @@ append_regularization_ops
...
@@ -11,6 +11,13 @@ append_regularization_ops
.. autofunction:: paddle.fluid.regularizer.append_regularization_ops
.. autofunction:: paddle.fluid.regularizer.append_regularization_ops
:noindex:
:noindex:
WeightDecayRegularizer
----------------------
.. autoclass:: paddle.fluid.regularizer.WeightDecayRegularizer
:members:
:noindex:
L1Decay
L1Decay
-------
-------
...
@@ -26,15 +33,16 @@ L2Decay
...
@@ -26,15 +33,16 @@ L2Decay
:noindex:
:noindex:
L1DecayRegularizer
L1DecayRegularizer
------------------
---
------------------
.. autoclass:: paddle.fluid.regularizer.L1DecayRegularizer
.. autoclass:: paddle.fluid.regularizer.L1DecayRegularizer
:members:
:members:
:noindex:
:noindex:
L2DecayRegularizer
L2DecayRegularizer
------------------
---
------------------
.. autoclass:: paddle.fluid.regularizer.L2DecayRegularizer
.. autoclass:: paddle.fluid.regularizer.L2DecayRegularizer
:members:
:members:
:noindex:
:noindex:
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录