Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
FluidDoc
提交
ede6af71
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看板
提交
ede6af71
编写于
8月 14, 2018
作者:
T
Tink_Y
提交者:
Shan Yi
8月 14, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update api_reference (#42)
上级
828d501b
变更
24
隐藏空白更改
内联
并排
Showing
24 changed file
with
197 addition
and
41 deletion
+197
-41
source/api_reference/CMakeLists.txt
source/api_reference/CMakeLists.txt
+25
-0
source/api_reference/average.rst
source/api_reference/average.rst
+0
-2
source/api_reference/backward.rst
source/api_reference/backward.rst
+0
-2
source/api_reference/clip.rst
source/api_reference/clip.rst
+0
-2
source/api_reference/data
source/api_reference/data
+0
-1
source/api_reference/data/data_reader.rst
source/api_reference/data/data_reader.rst
+72
-0
source/api_reference/data/dataset.rst
source/api_reference/data/dataset.rst
+82
-0
source/api_reference/data/image.rst
source/api_reference/data/image.rst
+5
-0
source/api_reference/data_feeder.rst
source/api_reference/data_feeder.rst
+0
-2
source/api_reference/executor.rst
source/api_reference/executor.rst
+0
-2
source/api_reference/fluid.rst
source/api_reference/fluid.rst
+0
-2
source/api_reference/gen_doc.py
source/api_reference/gen_doc.py
+4
-6
source/api_reference/index_en.rst
source/api_reference/index_en.rst
+0
-0
source/api_reference/initializer.rst
source/api_reference/initializer.rst
+0
-2
source/api_reference/io.rst
source/api_reference/io.rst
+0
-2
source/api_reference/layers.rst
source/api_reference/layers.rst
+0
-2
source/api_reference/metrics.rst
source/api_reference/metrics.rst
+0
-2
source/api_reference/nets.rst
source/api_reference/nets.rst
+0
-2
source/api_reference/optimizer.rst
source/api_reference/optimizer.rst
+0
-2
source/api_reference/param_attr.rst
source/api_reference/param_attr.rst
+0
-2
source/api_reference/profiler.rst
source/api_reference/profiler.rst
+0
-2
source/api_reference/recordio_writer.rst
source/api_reference/recordio_writer.rst
+0
-2
source/api_reference/regularizer.rst
source/api_reference/regularizer.rst
+0
-2
source/api_reference/transpiler.rst
source/api_reference/transpiler.rst
+9
-2
未找到文件。
source/api_reference/CMakeLists.txt
0 → 100644
浏览文件 @
ede6af71
# configured documentation tools and intermediate build results
set
(
BINARY_BUILD_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/_build"
)
# Sphinx cache with pickled ReST documents
set
(
SPHINX_CACHE_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/_doctrees"
)
# HTML output director
set
(
SPHINX_HTML_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/html"
)
set
(
IMPORT_PADDLE_STRING
"import paddle"
)
set
(
IMPORT_PADDLEV2_STRING
"import paddle.v2"
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../templates/conf.py.en.in"
"
${
BINARY_BUILD_DIR_EN
}
/conf.py"
@ONLY
)
sphinx_add_target
(
paddle_fluid_apis
html
${
BINARY_BUILD_DIR_EN
}
${
SPHINX_CACHE_DIR_EN
}
${
CMAKE_CURRENT_SOURCE_DIR
}
${
SPHINX_HTML_DIR_EN
}
)
add_dependencies
(
paddle_fluid_apis gen_proto_py framework_py_proto copy_paddle_pybind paddle_python
)
source/api_reference/average.rst
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_clip:
==========
fluid.clip
==========
...
...
source/api_reference/data
已删除
120000 → 0
浏览文件 @
828d501b
../../paddle/doc/fluid/api/data
\ No newline at end of file
source/api_reference/data/data_reader.rst
0 → 100644
浏览文件 @
ede6af71
=====================
Data Reader Interface
=====================
DataTypes
=========
.. autofunction:: paddle.v2.data_type.dense_array
:noindex:
.. autofunction:: paddle.v2.data_type.integer_value
:noindex:
.. autofunction:: paddle.v2.data_type.integer_value_sequence
:noindex:
.. autofunction:: paddle.v2.data_type.integer_value_sub_sequence
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_binary_vector
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_binary_vector_sequence
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_binary_vector_sub_sequence
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_float_vector
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_float_vector_sequence
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_float_vector_sub_sequence
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_non_value_slot
:noindex:
.. autofunction:: paddle.v2.data_type.sparse_value_slot
:noindex:
.. autoclass:: paddle.v2.data_type.InputType
:members:
:noindex:
DataFeeder
==========
.. automodule:: paddle.v2.data_feeder
:members:
:noindex:
Reader
======
.. automodule:: paddle.reader
:members:
:noindex:
.. automodule:: paddle.reader.creator
:members:
:noindex:
minibatch
=========
.. automodule:: paddle.v2.minibatch
:members:
:noindex:
source/api_reference/data/dataset.rst
0 → 100644
浏览文件 @
ede6af71
Dataset
=======
.. automodule:: paddle.dataset
:members:
:noindex:
mnist
+++++
.. automodule:: paddle.dataset.mnist
:members:
:noindex:
cifar
+++++
.. automodule:: paddle.dataset.cifar
:members:
:noindex:
conll05
+++++++
.. automodule:: paddle.dataset.conll05
:members: get_dict,get_embedding,test
:noindex:
imdb
++++
.. automodule:: paddle.dataset.imdb
:members:
:noindex:
imikolov
++++++++
.. automodule:: paddle.dataset.imikolov
:members:
:noindex:
movielens
+++++++++
.. automodule:: paddle.dataset.movielens
:members:
:noindex:
.. autoclass:: paddle.dataset.movielens.MovieInfo
:noindex:
.. autoclass:: paddle.dataset.movielens.UserInfo
:noindex:
sentiment
+++++++++
.. automodule:: paddle.dataset.sentiment
:members:
:noindex:
uci_housing
+++++++++++
.. automodule:: paddle.dataset.uci_housing
:members:
:noindex:
wmt14
+++++
.. automodule:: paddle.dataset.wmt14
:members:
:noindex:
wmt16
+++++
.. automodule:: paddle.dataset.wmt16
:members:
:noindex:
source/api_reference/data/image.rst
0 → 100644
浏览文件 @
ede6af71
Image Interface
===============
.. automodule:: paddle.v2.image
:members:
source/api_reference/data_feeder.rst
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_executor:
==============
fluid.executor
==============
...
...
source/api_reference/fluid.rst
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid:
=====
fluid
=====
...
...
source/api_reference/gen_doc.py
浏览文件 @
ede6af71
...
...
@@ -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
):
...
...
@@ -70,7 +70,7 @@ class DocGenerator(object):
def
print_item
(
self
,
name
):
item
=
getattr
(
self
.
module
,
name
,
None
)
if
item
is
None
:
return
return
if
isinstance
(
item
,
types
.
TypeType
):
self
.
print_class
(
name
)
elif
isinstance
(
item
,
types
.
FunctionType
):
...
...
@@ -107,10 +107,8 @@ class DocGenerator(object):
self
.
stream
.
write
(
'
\n
'
)
def
_print_ref_
(
self
,
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
))
self
.
stream
.
write
(
".. _api_{0}_{1}:
\n\n
"
.
format
(
"_"
.
join
(
self
.
module_name
.
split
(
"."
)),
name
))
def
main
():
...
...
source/api_reference/index.rst
→
source/api_reference/index
_en
.rst
浏览文件 @
ede6af71
文件已移动
source/api_reference/initializer.rst
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_initializer:
=================
fluid.initializer
=================
...
...
source/api_reference/io.rst
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_layers:
============
fluid.layers
============
...
...
source/api_reference/metrics.rst
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_metrics:
=============
fluid.metrics
=============
...
...
source/api_reference/nets.rst
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_optimizer:
===============
fluid.optimizer
===============
...
...
source/api_reference/param_attr.rst
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. 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
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_regularizer:
=================
fluid.regularizer
=================
...
...
source/api_reference/transpiler.rst
浏览文件 @
ede6af71
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_transpiler:
================
fluid.transpiler
================
...
...
@@ -16,6 +14,15 @@ DistributeTranspiler
:members:
:noindex:
.. _api_fluid_transpiler_InferenceTranspiler:
InferenceTranspiler
-------------------
.. autoclass:: paddle.fluid.transpiler.InferenceTranspiler
: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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录