layers.rst.txt 5.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
==========
Layers
==========


fc
---
..  autofunction:: paddle.v2.fluid.layers.fc
    :noindex:

embedding
---------
..  autofunction:: paddle.v2.fluid.layers.embedding
    :noindex:

dynamic_lstm
------------
..  autofunction:: paddle.v2.fluid.layers.dynamic_lstm
    :noindex:

data
22
----
23 24 25 26
..  autofunction:: paddle.v2.fluid.layers.data
    :noindex:

mean
27
----
28 29 30 31
..  autofunction:: paddle.v2.fluid.layers.mean
    :noindex:

mul
32
---
33 34 35 36 37 38 39 40
..  autofunction:: paddle.v2.fluid.layers.mul
    :noindex:

elementwise_add
---------------
..  autofunction:: paddle.v2.fluid.layers.elementwise_add
    :noindex:

41 42 43 44 45 46 47 48 49 50
elementwise_sub
---------------
..  autofunction:: paddle.v2.fluid.layers.elementwise_sub
    :noindex:

elementwise_mul
---------------
..  autofunction:: paddle.v2.fluid.layers.elementwise_mul
    :noindex:

51 52 53 54 55 56 57
elementwise_div
---------------
..  autofunction:: paddle.v2.fluid.layers.elementwise_div
    :noindex:


dropout
58
-------
59 60 61 62 63
..  autofunction:: paddle.v2.fluid.layers.dropout
    :noindex:


reshape
64
--------
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
..  autofunction:: paddle.v2.fluid.layers.reshape
    :noindex:


sigmoid
---------
..  autofunction:: paddle.v2.fluid.layers.sigmoid
    :noindex:


scale
---------
..  autofunction:: paddle.v2.fluid.layers.scale
    :noindex:


transpose
---------
..  autofunction:: paddle.v2.fluid.layers.transpose
    :noindex:


sigmoid_cross_entropy_with_logits
88
---------------------------------
89 90 91 92 93
..  autofunction:: paddle.v2.fluid.layers.esigmoid_cross_entropy_with_logits
    :noindex:


cast
94
----
95 96 97 98 99
..  autofunction:: paddle.v2.fluid.layers.cast
    :noindex:


concat
100
-------
101 102 103 104 105
..  autofunction:: paddle.v2.fluid.layers.concat
    :noindex:


sums
106
----
107 108 109 110 111
..  autofunction:: paddle.v2.fluid.layers.sums
    :noindex:


linear_chain_crf
112
----------------
113 114 115 116 117
..  autofunction:: paddle.v2.fluid.layers.linear_chain_crf
    :noindex:


assign
118
-------
119 120 121 122 123
..  autofunction:: paddle.v2.fluid.layers.embedding
    :noindex:


split_lod_tensor
124
----------------
125 126 127 128 129
..  autofunction:: paddle.v2.fluid.layers.split_lod_tensor
    :noindex:


merge_lod_tensor
130
----------------
131 132 133 134
..  autofunction:: paddle.v2.fluid.layers.merge_lod_tensor
    :noindex:

cos_sim
135
--------
136 137 138 139 140
..  autofunction:: paddle.v2.fluid.layers.cos_sim
    :noindex:


cross_entropy
141
-------------
142 143 144 145 146 147
..  autofunction:: paddle.v2.fluid.layers.cross_entropy
    :noindex:



square_error_cost
148
-----------------
149 150 151 152 153 154 155 156 157 158 159
..  autofunction:: paddle.v2.fluid.layers.square_error_cost
    :noindex:


accuracy
---------
..  autofunction:: paddle.v2.fluid.layers.accuracy
    :noindex:


sequence_conv
160
-------------
161 162 163 164 165
..  autofunction:: paddle.v2.fluid.layers.sequence_conv
    :noindex:


conv2d
166
------
167 168 169 170 171
..  autofunction:: paddle.v2.fluid.layers.conv2d
    :noindex:


sequence_pool
172
-------------
173 174 175 176
..  autofunction:: paddle.v2.fluid.layers.sequence_pool
    :noindex:


177 178 179 180 181 182 183 184 185 186 187 188
sequence_first_step
-------------------
..  autofunction:: paddle.v2.fluid.layers.sequence_first_step
    :noindex:


sequence_last_step
------------------
..  autofunction:: paddle.v2.fluid.layers.sequence_last_step
    :noindex:


189
pool2d
190
------
191 192 193 194 195
..  autofunction:: paddle.v2.fluid.layers.pool2d
    :noindex:


batch_norm
196
----------
197 198 199 200 201
..  autofunction:: paddle.v2.fluid.layers.batch_norm
    :noindex:


beam_search_decode
202
------------------
203 204 205 206 207
..  autofunction:: paddle.v2.fluid.layers.beam_search_decode
    :noindex:


lod_rank_table
208
--------------
209 210 211 212 213
..  autofunction:: paddle.v2.fluid.layers.lod_rank_table
    :noindex:


max_sequence_len
214
----------------
215 216 217 218 219
..  autofunction:: paddle.v2.fluid.layers.max_sequence_len
    :noindex:


topk
220
-----
221 222 223 224 225
..  autofunction:: paddle.v2.fluid.layers.topk
    :noindex:


lod_tensor_to_array
226
-------------------
227 228 229 230 231 232
..  autofunction:: paddle.v2.fluid.layers.lod_tensor_to_array
    :noindex:



array_to_lod_tensor
233
-------------------
234 235 236 237 238 239 240
..  autofunction:: paddle.v2.fluid.layers.array_to_lod_tensor
    :noindex:




fill_constant
241
-------------
242 243 244 245 246 247
..  autofunction:: paddle.v2.fluid.layers.fill_constant
    :noindex:



fill_constant_batch_size_like
248
-----------------------------
249 250 251 252 253
..  autofunction:: paddle.v2.fluid.layers.fill_constant_batch_size_like
    :noindex:


ones
254
----
255 256 257 258 259
..  autofunction:: paddle.v2.fluid.layers.ones
    :noindex:


zeros
260
-----
261 262 263 264 265 266 267 268 269 270 271
..  autofunction:: paddle.v2.fluid.layers.zeros
    :noindex:


increment
---------
..  autofunction:: paddle.v2.fluid.layers.increment
    :noindex:


array_write
272
-----------
273 274 275 276 277 278
..  autofunction:: paddle.v2.fluid.layers.array_write
    :noindex:



create_array
279
------------
280 281 282 283 284 285 286 287 288 289 290
..  autofunction:: paddle.v2.fluid.layers.create_array
    :noindex:


less_than
---------
..  autofunction:: paddle.v2.fluid.layers.less_than
    :noindex:


array_read
291
----------
292 293 294 295 296
..  autofunction:: paddle.v2.fluid.layers.array_read
    :noindex:


shrink_memory
297
--------------
298 299 300 301 302
..  autofunction:: paddle.v2.fluid.layers.shrink_memory
    :noindex:


array_length
303
-------------
304 305 306 307 308
..  autofunction:: paddle.v2.fluid.layers.array_length
    :noindex:


conv2d_transpose
309
----------------
310 311 312
..  autofunction:: paddle.v2.fluid.layers.conv2d_transpose
    :noindex:

313

314
sequence_expand
315
---------------
316 317
..  autofunction:: paddle.v2.fluid.layers.sequence_expand
    :noindex:
318 319


320 321 322 323 324 325
gru_unit
--------
..  autofunction:: paddle.v2.fluid.layers.gru_unit
    :noindex:


326 327 328 329
lstm_unit
---------
..  autofunction:: paddle.v2.fluid.layers.lstm_unit
    :noindex:
330 331 332


sequence_softmax
333
----------------
334 335 336
..  autofunction:: paddle.v2.fluid.layers.sequence_softmax
    :noindex:

337 338

reduce_sum
339
----------
340 341 342
..  autofunction:: paddle.v2.fluid.layers.reduce_sum
    :noindex:

343 344

reduce_mean
345
-----------
346 347 348
..  autofunction:: paddle.v2.fluid.layers.reduce_mean
    :noindex:

349 350 351 352 353 354 355 356 357 358 359 360

reduce_max
----------
..  autofunction:: paddle.v2.fluid.layers.reduce_max
    :noindex:


reduce_min
----------
..  autofunction:: paddle.v2.fluid.layers.reduce_min
    :noindex: