Skip to content

Commit 44bb5df

Browse files
authored
Merge pull request #10172 from weixing02/dataset
Add dataset for fluid api documentation
2 parents c6a7042 + 7871d54 commit 44bb5df

File tree

5 files changed

+170
-0
lines changed

5 files changed

+170
-0
lines changed

doc/fluid/api/data.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
==================================
2+
Data Reader Interface and DataSets
3+
==================================
4+
5+
.. toctree::
6+
:maxdepth: 1
7+
8+
data/data_reader.rst
9+
data/image.rst
10+
data/dataset.rst

doc/fluid/api/data/data_reader.rst

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
=====================
2+
Data Reader Interface
3+
=====================
4+
5+
6+
DataTypes
7+
=========
8+
9+
.. autofunction:: paddle.v2.data_type.dense_array
10+
:noindex:
11+
12+
.. autofunction:: paddle.v2.data_type.integer_value
13+
:noindex:
14+
15+
.. autofunction:: paddle.v2.data_type.integer_value_sequence
16+
:noindex:
17+
18+
.. autofunction:: paddle.v2.data_type.integer_value_sub_sequence
19+
:noindex:
20+
21+
.. autofunction:: paddle.v2.data_type.sparse_binary_vector
22+
:noindex:
23+
24+
.. autofunction:: paddle.v2.data_type.sparse_binary_vector_sequence
25+
:noindex:
26+
27+
.. autofunction:: paddle.v2.data_type.sparse_binary_vector_sub_sequence
28+
:noindex:
29+
30+
.. autofunction:: paddle.v2.data_type.sparse_float_vector
31+
:noindex:
32+
33+
.. autofunction:: paddle.v2.data_type.sparse_float_vector_sequence
34+
:noindex:
35+
36+
.. autofunction:: paddle.v2.data_type.sparse_float_vector_sub_sequence
37+
:noindex:
38+
39+
.. autofunction:: paddle.v2.data_type.sparse_non_value_slot
40+
:noindex:
41+
42+
.. autofunction:: paddle.v2.data_type.sparse_value_slot
43+
:noindex:
44+
45+
.. autoclass:: paddle.v2.data_type.InputType
46+
:members:
47+
:noindex:
48+
49+
DataFeeder
50+
==========
51+
52+
.. automodule:: paddle.v2.data_feeder
53+
:members:
54+
:noindex:
55+
56+
Reader
57+
======
58+
59+
.. automodule:: paddle.v2.reader
60+
:members:
61+
:noindex:
62+
63+
.. automodule:: paddle.v2.reader.creator
64+
:members:
65+
:noindex:
66+
67+
minibatch
68+
=========
69+
70+
.. automodule:: paddle.v2.minibatch
71+
:members:
72+
:noindex:

doc/fluid/api/data/dataset.rst

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
Dataset
2+
=======
3+
4+
.. automodule:: paddle.dataset
5+
:members:
6+
:noindex:
7+
8+
mnist
9+
+++++
10+
11+
.. automodule:: paddle.dataset.mnist
12+
:members:
13+
:noindex:
14+
15+
cifar
16+
+++++
17+
18+
.. automodule:: paddle.dataset.cifar
19+
:members:
20+
:noindex:
21+
22+
conll05
23+
+++++++
24+
25+
.. automodule:: paddle.dataset.conll05
26+
:members: get_dict,get_embedding,test
27+
:noindex:
28+
29+
imdb
30+
++++
31+
32+
.. automodule:: paddle.dataset.imdb
33+
:members:
34+
:noindex:
35+
36+
imikolov
37+
++++++++
38+
39+
.. automodule:: paddle.dataset.imikolov
40+
:members:
41+
:noindex:
42+
43+
movielens
44+
+++++++++
45+
46+
.. automodule:: paddle.dataset.movielens
47+
:members:
48+
:noindex:
49+
50+
.. autoclass:: paddle.dataset.movielens.MovieInfo
51+
:noindex:
52+
53+
.. autoclass:: paddle.dataset.movielens.UserInfo
54+
:noindex:
55+
56+
sentiment
57+
+++++++++
58+
59+
.. automodule:: paddle.dataset.sentiment
60+
:members:
61+
:noindex:
62+
63+
uci_housing
64+
+++++++++++
65+
66+
.. automodule:: paddle.dataset.uci_housing
67+
:members:
68+
:noindex:
69+
70+
wmt14
71+
+++++
72+
73+
.. automodule:: paddle.dataset.wmt14
74+
:members:
75+
:noindex:
76+
77+
wmt16
78+
+++++
79+
80+
.. automodule:: paddle.dataset.wmt16
81+
:members:
82+
:noindex:

doc/fluid/api/data/image.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Image Interface
2+
===============
3+
4+
.. automodule:: paddle.v2.image
5+
:members:

doc/fluid/api/index_en.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ Fluid
1616
profiler.rst
1717
regularizer.rst
1818
io.rst
19+
data.rst

0 commit comments

Comments
 (0)