Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
FluidDoc
提交
484a1d71
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看板
提交
484a1d71
编写于
7月 02, 2019
作者:
L
lujun
提交者:
Cheerego
7月 02, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cherry pick gen_doc.py for dygraph, test=release/1.5 (#981)
上级
70bab181
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
27 deletion
+8
-27
doc/fluid/api/dygraph.rst
doc/fluid/api/dygraph.rst
+0
-26
doc/fluid/api/gen_doc.py
doc/fluid/api/gen_doc.py
+8
-1
未找到文件。
doc/fluid/api/dygraph.rst
浏览文件 @
484a1d71
...
@@ -12,7 +12,6 @@ BackwardStrategy
...
@@ -12,7 +12,6 @@ BackwardStrategy
.. autoclass:: paddle.fluid.dygraph.BackwardStrategy
.. autoclass:: paddle.fluid.dygraph.BackwardStrategy
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_BatchNorm:
.. _api_fluid_dygraph_BatchNorm:
...
@@ -22,7 +21,6 @@ BatchNorm
...
@@ -22,7 +21,6 @@ BatchNorm
.. autoclass:: paddle.fluid.dygraph.BatchNorm
.. autoclass:: paddle.fluid.dygraph.BatchNorm
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_BilinearTensorProduct:
.. _api_fluid_dygraph_BilinearTensorProduct:
...
@@ -32,7 +30,6 @@ BilinearTensorProduct
...
@@ -32,7 +30,6 @@ BilinearTensorProduct
.. autoclass:: paddle.fluid.dygraph.BilinearTensorProduct
.. autoclass:: paddle.fluid.dygraph.BilinearTensorProduct
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_Conv2D:
.. _api_fluid_dygraph_Conv2D:
...
@@ -42,7 +39,6 @@ Conv2D
...
@@ -42,7 +39,6 @@ Conv2D
.. autoclass:: paddle.fluid.dygraph.Conv2D
.. autoclass:: paddle.fluid.dygraph.Conv2D
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_Conv2DTranspose:
.. _api_fluid_dygraph_Conv2DTranspose:
...
@@ -52,7 +48,6 @@ Conv2DTranspose
...
@@ -52,7 +48,6 @@ Conv2DTranspose
.. autoclass:: paddle.fluid.dygraph.Conv2DTranspose
.. autoclass:: paddle.fluid.dygraph.Conv2DTranspose
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_Conv3D:
.. _api_fluid_dygraph_Conv3D:
...
@@ -62,7 +57,6 @@ Conv3D
...
@@ -62,7 +57,6 @@ Conv3D
.. autoclass:: paddle.fluid.dygraph.Conv3D
.. autoclass:: paddle.fluid.dygraph.Conv3D
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_Conv3DTranspose:
.. _api_fluid_dygraph_Conv3DTranspose:
...
@@ -72,7 +66,6 @@ Conv3DTranspose
...
@@ -72,7 +66,6 @@ Conv3DTranspose
.. autoclass:: paddle.fluid.dygraph.Conv3DTranspose
.. autoclass:: paddle.fluid.dygraph.Conv3DTranspose
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_CosineDecay:
.. _api_fluid_dygraph_CosineDecay:
...
@@ -82,7 +75,6 @@ CosineDecay
...
@@ -82,7 +75,6 @@ CosineDecay
.. autoclass:: paddle.fluid.dygraph.CosineDecay
.. autoclass:: paddle.fluid.dygraph.CosineDecay
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_Embedding:
.. _api_fluid_dygraph_Embedding:
...
@@ -92,7 +84,6 @@ Embedding
...
@@ -92,7 +84,6 @@ Embedding
.. autoclass:: paddle.fluid.dygraph.Embedding
.. autoclass:: paddle.fluid.dygraph.Embedding
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_enabled:
.. _api_fluid_dygraph_enabled:
...
@@ -110,7 +101,6 @@ ExponentialDecay
...
@@ -110,7 +101,6 @@ ExponentialDecay
.. autoclass:: paddle.fluid.dygraph.ExponentialDecay
.. autoclass:: paddle.fluid.dygraph.ExponentialDecay
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_FC:
.. _api_fluid_dygraph_FC:
...
@@ -120,7 +110,6 @@ FC
...
@@ -120,7 +110,6 @@ FC
.. autoclass:: paddle.fluid.dygraph.FC
.. autoclass:: paddle.fluid.dygraph.FC
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_GroupNorm:
.. _api_fluid_dygraph_GroupNorm:
...
@@ -130,7 +119,6 @@ GroupNorm
...
@@ -130,7 +119,6 @@ GroupNorm
.. autoclass:: paddle.fluid.dygraph.GroupNorm
.. autoclass:: paddle.fluid.dygraph.GroupNorm
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_GRUUnit:
.. _api_fluid_dygraph_GRUUnit:
...
@@ -140,7 +128,6 @@ GRUUnit
...
@@ -140,7 +128,6 @@ GRUUnit
.. autoclass:: paddle.fluid.dygraph.GRUUnit
.. autoclass:: paddle.fluid.dygraph.GRUUnit
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_guard:
.. _api_fluid_dygraph_guard:
...
@@ -158,7 +145,6 @@ InverseTimeDecay
...
@@ -158,7 +145,6 @@ InverseTimeDecay
.. autoclass:: paddle.fluid.dygraph.InverseTimeDecay
.. autoclass:: paddle.fluid.dygraph.InverseTimeDecay
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_Layer:
.. _api_fluid_dygraph_Layer:
...
@@ -168,7 +154,6 @@ Layer
...
@@ -168,7 +154,6 @@ Layer
.. autoclass:: paddle.fluid.dygraph.Layer
.. autoclass:: paddle.fluid.dygraph.Layer
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_LayerNorm:
.. _api_fluid_dygraph_LayerNorm:
...
@@ -178,7 +163,6 @@ LayerNorm
...
@@ -178,7 +163,6 @@ LayerNorm
.. autoclass:: paddle.fluid.dygraph.LayerNorm
.. autoclass:: paddle.fluid.dygraph.LayerNorm
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_load_persistables:
.. _api_fluid_dygraph_load_persistables:
...
@@ -196,7 +180,6 @@ NaturalExpDecay
...
@@ -196,7 +180,6 @@ NaturalExpDecay
.. autoclass:: paddle.fluid.dygraph.NaturalExpDecay
.. autoclass:: paddle.fluid.dygraph.NaturalExpDecay
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_NCE:
.. _api_fluid_dygraph_NCE:
...
@@ -206,7 +189,6 @@ NCE
...
@@ -206,7 +189,6 @@ NCE
.. autoclass:: paddle.fluid.dygraph.NCE
.. autoclass:: paddle.fluid.dygraph.NCE
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_no_grad:
.. _api_fluid_dygraph_no_grad:
...
@@ -224,7 +206,6 @@ NoamDecay
...
@@ -224,7 +206,6 @@ NoamDecay
.. autoclass:: paddle.fluid.dygraph.NoamDecay
.. autoclass:: paddle.fluid.dygraph.NoamDecay
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_not_support:
.. _api_fluid_dygraph_not_support:
...
@@ -242,7 +223,6 @@ PiecewiseDecay
...
@@ -242,7 +223,6 @@ PiecewiseDecay
.. autoclass:: paddle.fluid.dygraph.PiecewiseDecay
.. autoclass:: paddle.fluid.dygraph.PiecewiseDecay
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_PolynomialDecay:
.. _api_fluid_dygraph_PolynomialDecay:
...
@@ -252,7 +232,6 @@ PolynomialDecay
...
@@ -252,7 +232,6 @@ PolynomialDecay
.. autoclass:: paddle.fluid.dygraph.PolynomialDecay
.. autoclass:: paddle.fluid.dygraph.PolynomialDecay
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_Pool2D:
.. _api_fluid_dygraph_Pool2D:
...
@@ -262,7 +241,6 @@ Pool2D
...
@@ -262,7 +241,6 @@ Pool2D
.. autoclass:: paddle.fluid.dygraph.Pool2D
.. autoclass:: paddle.fluid.dygraph.Pool2D
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_PRelu:
.. _api_fluid_dygraph_PRelu:
...
@@ -272,7 +250,6 @@ PRelu
...
@@ -272,7 +250,6 @@ PRelu
.. autoclass:: paddle.fluid.dygraph.PRelu
.. autoclass:: paddle.fluid.dygraph.PRelu
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_prepare_context:
.. _api_fluid_dygraph_prepare_context:
...
@@ -298,7 +275,6 @@ SpectralNorm
...
@@ -298,7 +275,6 @@ SpectralNorm
.. autoclass:: paddle.fluid.dygraph.SpectralNorm
.. autoclass:: paddle.fluid.dygraph.SpectralNorm
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_start_gperf_profiler:
.. _api_fluid_dygraph_start_gperf_profiler:
...
@@ -332,7 +308,6 @@ Tracer
...
@@ -332,7 +308,6 @@ Tracer
.. autoclass:: paddle.fluid.dygraph.Tracer
.. autoclass:: paddle.fluid.dygraph.Tracer
:members:
:members:
:inherited-members:
:noindex:
:noindex:
.. _api_fluid_dygraph_TreeConv:
.. _api_fluid_dygraph_TreeConv:
...
@@ -342,6 +317,5 @@ TreeConv
...
@@ -342,6 +317,5 @@ TreeConv
.. autoclass:: paddle.fluid.dygraph.TreeConv
.. autoclass:: paddle.fluid.dygraph.TreeConv
:members:
:members:
:inherited-members:
:noindex:
:noindex:
doc/fluid/api/gen_doc.py
浏览文件 @
484a1d71
...
@@ -89,7 +89,14 @@ class DocGenerator(object):
...
@@ -89,7 +89,14 @@ class DocGenerator(object):
def
print_class
(
self
,
name
):
def
print_class
(
self
,
name
):
self
.
_print_ref_
(
name
)
self
.
_print_ref_
(
name
)
self
.
_print_header_
(
name
,
dot
=
'-'
,
is_title
=
False
)
self
.
_print_header_
(
name
,
dot
=
'-'
,
is_title
=
False
)
self
.
stream
.
write
(
'''.. autoclass:: paddle.{0}.{1}
if
"fluid.dygraph"
in
self
.
module_prefix
:
self
.
stream
.
write
(
'''.. autoclass:: paddle.{0}.{1}
:members:
:noindex:
'''
.
format
(
self
.
module_prefix
,
name
))
else
:
self
.
stream
.
write
(
'''.. autoclass:: paddle.{0}.{1}
:members:
:members:
:inherited-members:
:inherited-members:
:noindex:
:noindex:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录