Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
84ceffd0
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2299
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
84ceffd0
编写于
4月 20, 2018
作者:
W
weixing
提交者:
Abhinav Arora
4月 19, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix api display errors in fluid (#10051)
上级
324ab7a3
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
73 addition
and
14 deletion
+73
-14
doc/fluid/api/evaluator.rst
doc/fluid/api/evaluator.rst
+12
-5
doc/fluid/api/initializer.rst
doc/fluid/api/initializer.rst
+1
-2
doc/fluid/api/optimizer.rst
doc/fluid/api/optimizer.rst
+42
-1
doc/fluid/api/regularizer.rst
doc/fluid/api/regularizer.rst
+13
-0
python/paddle/fluid/evaluator.py
python/paddle/fluid/evaluator.py
+1
-2
python/paddle/fluid/optimizer.py
python/paddle/fluid/optimizer.py
+2
-1
python/paddle/fluid/regularizer.py
python/paddle/fluid/regularizer.py
+2
-3
未找到文件。
doc/fluid/api/evaluator.rst
浏览文件 @
84ceffd0
...
...
@@ -5,17 +5,24 @@
evaluator
=========
Accuracy
--------
ChunkEvaluator
--------
------
.. autoclass:: paddle.fluid.evaluator.
Accuracy
.. autoclass:: paddle.fluid.evaluator.
ChunkEvaluator
:members:
:noindex:
ChunkEvaluator
EditDistance
--------------
.. autoclass:: paddle.fluid.evaluator.
ChunkEvaluator
.. autoclass:: paddle.fluid.evaluator.
EditDistance
:members:
:noindex:
DetectionMAP
--------------
.. autoclass:: paddle.fluid.evaluator.DetectionMAP
:members:
:noindex:
doc/fluid/api/initializer.rst
浏览文件 @
84ceffd0
...
...
@@ -67,8 +67,7 @@ XavierInitializer
.. autoclass:: paddle.fluid.initializer.XavierInitializer
:members:
:noindex:
MSRA
------
MSRAInitializer
-----------------
...
...
doc/fluid/api/optimizer.rst
浏览文件 @
84ceffd0
...
...
@@ -47,10 +47,51 @@ DecayedAdagrad
:members:
:noindex:
SGDOptimizer
------------
.. autoclass:: paddle.fluid.optimizer.SGDOptimizer
:members:
:noindex:
MomentumOptimizer
-----------------
.. autoclass:: paddle.fluid.optimizer.MomentumOptimizer
:members:
:noindex:
AdagradOptimizer
----------------
.. autoclass:: paddle.fluid.optimizer.AdagradOptimizer
:members:
:noindex:
AdamOptimizer
-------------
.. autoclass:: paddle.fluid.optimizer.AdamOptimizer
:members:
:noindex:
AdamaxOptimizer
---------------
.. autoclass:: paddle.fluid.optimizer.AdamaxOptimizer
:members:
:noindex:
DecayedAdagradOptimizer
-----------------------
.. autoclass:: paddle.fluid.optimizer.DecayedAdagradOptimizer
:members:
:noindex:
Adadelta
--------------
.. autoclass:: paddle.fluid.optimizer.AdadeltaOptimizer
:members:
:noindex:
doc/fluid/api/regularizer.rst
浏览文件 @
84ceffd0
...
...
@@ -25,3 +25,16 @@ L2Decay
:members:
:noindex:
L1DecayRegularizer
---------------------
.. autoclass:: paddle.fluid.regularizer.L1DecayRegularizer
:members:
:noindex:
L2DecayRegularizer
---------------------
.. autoclass:: paddle.fluid.regularizer.L2DecayRegularizer
:members:
:noindex:
python/paddle/fluid/evaluator.py
浏览文件 @
84ceffd0
...
...
@@ -22,7 +22,6 @@ from layer_helper import LayerHelper
from
initializer
import
Constant
__all__
=
[
'Accuracy'
,
'ChunkEvaluator'
,
'EditDistance'
,
'DetectionMAP'
,
...
...
@@ -273,7 +272,7 @@ class DetectionMAP(Evaluator):
input (Variable): The detection results, which is a LoDTensor with shape
[M, 6]. The layout is [label, confidence, xmin, ymin, xmax, ymax].
gt_label (Variable): The ground truth label index, which is a LoDTensor
with shape [N, 1].
with shape [N, 1].
gt_difficult (Variable): Whether this ground truth is a difficult
bounding box (bbox), which is a LoDTensor [N, 1].
gt_box (Variable): The ground truth bounding box (bbox), which is a
...
...
python/paddle/fluid/optimizer.py
浏览文件 @
84ceffd0
...
...
@@ -27,7 +27,8 @@ from contextlib import contextmanager
__all__
=
[
'SGD'
,
'Momentum'
,
'Adagrad'
,
'Adam'
,
'Adamax'
,
'DecayedAdagrad'
,
'Adadelta'
,
'ModelAverage'
'SGDOptimizer'
,
'MomentumOptimizer'
,
'AdagradOptimizer'
,
'AdamOptimizer'
,
'AdamaxOptimizer'
,
'DecayedAdagradOptimizer'
,
'Adadelta'
,
'ModelAverage'
]
...
...
python/paddle/fluid/regularizer.py
浏览文件 @
84ceffd0
...
...
@@ -16,9 +16,8 @@ import framework
from
.
import
core
__all__
=
[
'append_regularization_ops'
,
'L1Decay'
,
'L2Decay'
,
'append_regularization_ops'
,
'WeightDecayRegularizer'
,
'L1Decay'
,
'L2Decay'
,
'L1DecayRegularizer'
,
'L2DecayRegularizer'
]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录