Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
FluidDoc
提交
d6157cff
F
FluidDoc
项目概览
PaddlePaddle
/
FluidDoc
通知
5
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
23
列表
看板
标记
里程碑
合并请求
111
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
FluidDoc
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
23
Issue
23
列表
看板
标记
里程碑
合并请求
111
合并请求
111
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
d6157cff
编写于
6月 26, 2018
作者:
Y
yuyang18
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Refector gen_doc.py, add header anchor
上级
5a2a9963
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
145 addition
and
53 deletion
+145
-53
source/api_reference/average.rst
source/api_reference/average.rst
+2
-0
source/api_reference/backward.rst
source/api_reference/backward.rst
+2
-0
source/api_reference/clip.rst
source/api_reference/clip.rst
+2
-16
source/api_reference/data_feeder.rst
source/api_reference/data_feeder.rst
+2
-0
source/api_reference/executor.rst
source/api_reference/executor.rst
+6
-4
source/api_reference/fluid.rst
source/api_reference/fluid.rst
+24
-20
source/api_reference/gen_doc.py
source/api_reference/gen_doc.py
+5
-4
source/api_reference/initializer.rst
source/api_reference/initializer.rst
+20
-0
source/api_reference/io.rst
source/api_reference/io.rst
+2
-0
source/api_reference/layers.rst
source/api_reference/layers.rst
+10
-0
source/api_reference/metrics.rst
source/api_reference/metrics.rst
+20
-0
source/api_reference/nets.rst
source/api_reference/nets.rst
+2
-0
source/api_reference/optimizer.rst
source/api_reference/optimizer.rst
+29
-0
source/api_reference/param_attr.rst
source/api_reference/param_attr.rst
+2
-0
source/api_reference/profiler.rst
source/api_reference/profiler.rst
+2
-0
source/api_reference/recordio_writer.rst
source/api_reference/recordio_writer.rst
+2
-0
source/api_reference/regularizer.rst
source/api_reference/regularizer.rst
+2
-9
source/api_reference/transpiler.rst
source/api_reference/transpiler.rst
+11
-0
未找到文件。
source/api_reference/average.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_average:
=============
fluid.average
=============
...
...
source/api_reference/backward.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_backward:
==============
fluid.backward
==============
...
...
source/api_reference/clip.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_clip:
==========
fluid.clip
==========
...
...
@@ -41,19 +43,3 @@ GradientClipByGlobalNorm
:members:
:noindex:
.. _api_fluid_clip_append_gradient_clip_ops:
append_gradient_clip_ops
------------------------
.. autofunction:: paddle.fluid.clip.append_gradient_clip_ops
:noindex:
.. _api_fluid_clip_error_clip_callback:
error_clip_callback
-------------------
.. autofunction:: paddle.fluid.clip.error_clip_callback
:noindex:
source/api_reference/data_feeder.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_data_feeder:
=================
fluid.data_feeder
=================
...
...
source/api_reference/executor.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_executor:
==============
fluid.executor
==============
...
...
@@ -30,12 +32,12 @@ scope_guard
.. autofunction:: paddle.fluid.executor.scope_guard
:noindex:
.. _api_fluid_executor_switch_scope:
.. _api_fluid_executor_
_
switch_scope:
switch_scope
------------
_
switch_scope
------------
-
.. autofunction:: paddle.fluid.executor.switch_scope
.. autofunction:: paddle.fluid.executor.
_
switch_scope
:noindex:
.. _api_fluid_executor_fetch_var:
...
...
source/api_reference/fluid.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid:
=====
fluid
=====
...
...
@@ -65,22 +67,6 @@ program_guard
.. autofunction:: paddle.fluid.program_guard
:noindex:
.. _api_fluid_switch_startup_program:
switch_startup_program
----------------------
.. autofunction:: paddle.fluid.switch_startup_program
:noindex:
.. _api_fluid_switch_main_program:
switch_main_program
-------------------
.. autofunction:: paddle.fluid.switch_main_program
:noindex:
.. _api_fluid_get_var:
get_var
...
...
@@ -114,12 +100,12 @@ scope_guard
.. autofunction:: paddle.fluid.scope_guard
:noindex:
.. _api_fluid_switch_scope:
.. _api_fluid_
_
switch_scope:
switch_scope
------------
_
switch_scope
------------
-
.. autofunction:: paddle.fluid.switch_scope
.. autofunction:: paddle.fluid.
_
switch_scope
:noindex:
.. _api_fluid_fetch_var:
...
...
@@ -243,6 +229,15 @@ Inferencer
:members:
:noindex:
.. _api_fluid_DistributeTranspiler:
DistributeTranspiler
--------------------
.. autoclass:: paddle.fluid.DistributeTranspiler
:members:
:noindex:
.. _api_fluid_memory_optimize:
memory_optimize
...
...
@@ -374,3 +369,12 @@ DataFeeder
:members:
:noindex:
.. _api_fluid_Scope:
Scope
-----
.. autoclass:: paddle.fluid.Scope
:members:
:noindex:
source/api_reference/gen_doc.py
浏览文件 @
d6157cff
...
...
@@ -48,7 +48,7 @@ class DocGenerator(object):
!DO NOT EDIT THIS FILE MANUALLY!
'''
)
self
.
_print_ref_raw_
(
"_"
.
join
(
self
.
module_name
.
split
(
"."
)))
self
.
_print_header_
(
self
.
module_name
,
dot
=
'='
,
is_title
=
True
)
def
print_submodule
(
self
,
submodule_name
):
...
...
@@ -107,9 +107,10 @@ class DocGenerator(object):
self
.
stream
.
write
(
'
\n
'
)
def
_print_ref_
(
self
,
name
):
self
.
stream
.
write
(
".. _api_{0}_{1}:
\n\n
"
.
format
(
"_"
.
join
(
self
.
module_name
.
split
(
"."
)),
name
))
self
.
_print_ref_raw_
(
"_"
.
join
(
self
.
module_name
.
split
(
"."
)
+
[
name
]))
def
_print_ref_raw_
(
self
,
anchor
):
self
.
stream
.
write
(
".. _api_{0}:
\n\n
"
.
format
(
anchor
))
def
main
():
...
...
source/api_reference/initializer.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_initializer:
=================
fluid.initializer
=================
...
...
@@ -50,6 +52,15 @@ Bilinear
:members:
:noindex:
.. _api_fluid_initializer_MSRA:
MSRA
----
.. autoclass:: paddle.fluid.initializer.MSRA
:members:
:noindex:
.. _api_fluid_initializer_force_init_on_cpu:
force_init_on_cpu
...
...
@@ -111,3 +122,12 @@ BilinearInitializer
:members:
:noindex:
.. _api_fluid_initializer_MSRAInitializer:
MSRAInitializer
---------------
.. autoclass:: paddle.fluid.initializer.MSRAInitializer
:members:
:noindex:
source/api_reference/io.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_io:
========
fluid.io
========
...
...
source/api_reference/layers.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_layers:
============
fluid.layers
============
...
...
@@ -910,6 +912,14 @@ log
.. autofunction:: paddle.fluid.layers.log
:noindex:
.. _api_fluid_layers_crop:
crop
----
.. autofunction:: paddle.fluid.layers.crop
:noindex:
ops
===
...
...
source/api_reference/metrics.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_metrics:
=============
fluid.metrics
=============
...
...
@@ -23,6 +25,24 @@ CompositeMetric
:members:
:noindex:
.. _api_fluid_metrics_Precision:
Precision
---------
.. autoclass:: paddle.fluid.metrics.Precision
:members:
:noindex:
.. _api_fluid_metrics_Recall:
Recall
------
.. autoclass:: paddle.fluid.metrics.Recall
:members:
:noindex:
.. _api_fluid_metrics_Accuracy:
Accuracy
...
...
source/api_reference/nets.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_nets:
==========
fluid.nets
==========
...
...
source/api_reference/optimizer.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_optimizer:
===============
fluid.optimizer
===============
...
...
@@ -59,6 +61,15 @@ DecayedAdagrad
:members:
:noindex:
.. _api_fluid_optimizer_Ftrl:
Ftrl
----
.. autoclass:: paddle.fluid.optimizer.Ftrl
:members:
:noindex:
.. _api_fluid_optimizer_SGDOptimizer:
SGDOptimizer
...
...
@@ -122,6 +133,15 @@ RMSPropOptimizer
:members:
:noindex:
.. _api_fluid_optimizer_FtrlOptimizer:
FtrlOptimizer
-------------
.. autoclass:: paddle.fluid.optimizer.FtrlOptimizer
:members:
:noindex:
.. _api_fluid_optimizer_Adadelta:
Adadelta
...
...
@@ -149,3 +169,12 @@ Optimizer
:members:
:noindex:
.. _api_fluid_optimizer_RMSPropOptimizer:
RMSPropOptimizer
----------------
.. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer
:members:
:noindex:
source/api_reference/param_attr.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_param_attr:
================
fluid.param_attr
================
...
...
source/api_reference/profiler.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_profiler:
==============
fluid.profiler
==============
...
...
source/api_reference/recordio_writer.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_recordio_writer:
=====================
fluid.recordio_writer
=====================
...
...
source/api_reference/regularizer.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_regularizer:
=================
fluid.regularizer
=================
...
...
@@ -13,15 +15,6 @@ append_regularization_ops
.. autofunction:: paddle.fluid.regularizer.append_regularization_ops
:noindex:
.. _api_fluid_regularizer_WeightDecayRegularizer:
WeightDecayRegularizer
----------------------
.. autoclass:: paddle.fluid.regularizer.WeightDecayRegularizer
:members:
:noindex:
.. _api_fluid_regularizer_L1Decay:
L1Decay
...
...
source/api_reference/transpiler.rst
浏览文件 @
d6157cff
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_transpiler:
================
fluid.transpiler
================
.. _api_fluid_transpiler_DistributeTranspiler:
DistributeTranspiler
--------------------
.. autoclass:: paddle.fluid.transpiler.DistributeTranspiler
:members:
:noindex:
.. _api_fluid_transpiler_memory_optimize:
memory_optimize
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录