layers.rst 8.7 KB
Newer Older
Q
QI JUN 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
==========
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:

Y
Yibing Liu 已提交
21 22 23 24 25 26
dynamic_lstmp
------------
..  autofunction:: paddle.v2.fluid.layers.dynamic_lstmp
    :noindex:

 dynamic_gru
G
guosheng 已提交
27 28 29 30
-----------
..  autofunction:: paddle.v2.fluid.layers.dynamic_gru
    :noindex:

Q
QI JUN 已提交
31
data
C
caoying03 已提交
32
----
Q
QI JUN 已提交
33 34 35 36
..  autofunction:: paddle.v2.fluid.layers.data
    :noindex:

mean
C
caoying03 已提交
37
----
Q
QI JUN 已提交
38 39 40 41
..  autofunction:: paddle.v2.fluid.layers.mean
    :noindex:

mul
C
caoying03 已提交
42
---
Q
QI JUN 已提交
43 44 45 46 47 48 49 50
..  autofunction:: paddle.v2.fluid.layers.mul
    :noindex:

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

51 52 53 54 55 56 57 58 59 60
elementwise_sub
---------------
..  autofunction:: paddle.v2.fluid.layers.elementwise_sub
    :noindex:

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

Q
QI JUN 已提交
61 62 63 64 65 66 67
elementwise_div
---------------
..  autofunction:: paddle.v2.fluid.layers.elementwise_div
    :noindex:


dropout
C
caoying03 已提交
68
-------
Q
QI JUN 已提交
69 70 71 72 73
..  autofunction:: paddle.v2.fluid.layers.dropout
    :noindex:


reshape
C
caoying03 已提交
74
--------
Q
QI JUN 已提交
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
..  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
C
caoying03 已提交
98
---------------------------------
Q
QI JUN 已提交
99 100 101 102 103
..  autofunction:: paddle.v2.fluid.layers.esigmoid_cross_entropy_with_logits
    :noindex:


cast
C
caoying03 已提交
104
----
Q
QI JUN 已提交
105 106 107 108 109
..  autofunction:: paddle.v2.fluid.layers.cast
    :noindex:


concat
C
caoying03 已提交
110
-------
Q
QI JUN 已提交
111 112 113 114 115
..  autofunction:: paddle.v2.fluid.layers.concat
    :noindex:


sums
C
caoying03 已提交
116
----
Q
QI JUN 已提交
117 118 119 120 121
..  autofunction:: paddle.v2.fluid.layers.sums
    :noindex:


linear_chain_crf
C
caoying03 已提交
122
----------------
Q
QI JUN 已提交
123 124 125 126 127
..  autofunction:: paddle.v2.fluid.layers.linear_chain_crf
    :noindex:


assign
C
caoying03 已提交
128
-------
Q
QI JUN 已提交
129 130 131 132 133
..  autofunction:: paddle.v2.fluid.layers.embedding
    :noindex:


split_lod_tensor
C
caoying03 已提交
134
----------------
Q
QI JUN 已提交
135 136 137 138 139
..  autofunction:: paddle.v2.fluid.layers.split_lod_tensor
    :noindex:


merge_lod_tensor
C
caoying03 已提交
140
----------------
Q
QI JUN 已提交
141 142 143 144
..  autofunction:: paddle.v2.fluid.layers.merge_lod_tensor
    :noindex:

cos_sim
C
caoying03 已提交
145
--------
Q
QI JUN 已提交
146 147 148 149 150
..  autofunction:: paddle.v2.fluid.layers.cos_sim
    :noindex:


cross_entropy
C
caoying03 已提交
151
-------------
Q
QI JUN 已提交
152 153 154 155 156 157
..  autofunction:: paddle.v2.fluid.layers.cross_entropy
    :noindex:



square_error_cost
C
caoying03 已提交
158
-----------------
Q
QI JUN 已提交
159 160 161 162 163 164 165 166 167 168 169
..  autofunction:: paddle.v2.fluid.layers.square_error_cost
    :noindex:


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


sequence_conv
C
caoying03 已提交
170
-------------
Q
QI JUN 已提交
171 172 173 174 175
..  autofunction:: paddle.v2.fluid.layers.sequence_conv
    :noindex:


conv2d
C
caoying03 已提交
176
------
Q
QI JUN 已提交
177 178 179 180 181
..  autofunction:: paddle.v2.fluid.layers.conv2d
    :noindex:


sequence_pool
C
caoying03 已提交
182
-------------
Q
QI JUN 已提交
183 184 185 186
..  autofunction:: paddle.v2.fluid.layers.sequence_pool
    :noindex:


L
Luo Tao 已提交
187 188 189 190 191 192 193 194 195 196 197 198
sequence_first_step
-------------------
..  autofunction:: paddle.v2.fluid.layers.sequence_first_step
    :noindex:


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


Q
QI JUN 已提交
199
pool2d
C
caoying03 已提交
200
------
Q
QI JUN 已提交
201 202 203 204 205
..  autofunction:: paddle.v2.fluid.layers.pool2d
    :noindex:


batch_norm
C
caoying03 已提交
206
----------
Q
QI JUN 已提交
207 208 209 210 211
..  autofunction:: paddle.v2.fluid.layers.batch_norm
    :noindex:


beam_search_decode
C
caoying03 已提交
212
------------------
Q
QI JUN 已提交
213 214 215 216 217
..  autofunction:: paddle.v2.fluid.layers.beam_search_decode
    :noindex:


lod_rank_table
C
caoying03 已提交
218
--------------
Q
QI JUN 已提交
219 220 221 222 223
..  autofunction:: paddle.v2.fluid.layers.lod_rank_table
    :noindex:


max_sequence_len
C
caoying03 已提交
224
----------------
Q
QI JUN 已提交
225 226 227 228 229
..  autofunction:: paddle.v2.fluid.layers.max_sequence_len
    :noindex:


topk
C
caoying03 已提交
230
-----
Q
QI JUN 已提交
231 232 233 234 235
..  autofunction:: paddle.v2.fluid.layers.topk
    :noindex:


lod_tensor_to_array
C
caoying03 已提交
236
-------------------
Q
QI JUN 已提交
237 238 239 240 241 242
..  autofunction:: paddle.v2.fluid.layers.lod_tensor_to_array
    :noindex:



array_to_lod_tensor
C
caoying03 已提交
243
-------------------
Q
QI JUN 已提交
244 245 246 247 248 249 250
..  autofunction:: paddle.v2.fluid.layers.array_to_lod_tensor
    :noindex:




fill_constant
C
caoying03 已提交
251
-------------
Q
QI JUN 已提交
252 253 254 255 256 257
..  autofunction:: paddle.v2.fluid.layers.fill_constant
    :noindex:



fill_constant_batch_size_like
C
caoying03 已提交
258
-----------------------------
Q
QI JUN 已提交
259 260 261 262 263
..  autofunction:: paddle.v2.fluid.layers.fill_constant_batch_size_like
    :noindex:


ones
C
caoying03 已提交
264
----
Q
QI JUN 已提交
265 266 267 268 269
..  autofunction:: paddle.v2.fluid.layers.ones
    :noindex:


zeros
C
caoying03 已提交
270
-----
Q
QI JUN 已提交
271 272 273 274 275 276 277 278 279 280 281
..  autofunction:: paddle.v2.fluid.layers.zeros
    :noindex:


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


array_write
C
caoying03 已提交
282
-----------
Q
QI JUN 已提交
283 284 285 286 287 288
..  autofunction:: paddle.v2.fluid.layers.array_write
    :noindex:



create_array
C
caoying03 已提交
289
------------
Q
QI JUN 已提交
290 291 292 293 294 295 296 297 298 299 300
..  autofunction:: paddle.v2.fluid.layers.create_array
    :noindex:


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


array_read
C
caoying03 已提交
301
----------
Q
QI JUN 已提交
302 303 304 305 306
..  autofunction:: paddle.v2.fluid.layers.array_read
    :noindex:


shrink_memory
C
caoying03 已提交
307
--------------
Q
QI JUN 已提交
308 309 310 311 312
..  autofunction:: paddle.v2.fluid.layers.shrink_memory
    :noindex:


array_length
C
caoying03 已提交
313
-------------
Q
QI JUN 已提交
314 315 316 317 318
..  autofunction:: paddle.v2.fluid.layers.array_length
    :noindex:


conv2d_transpose
C
caoying03 已提交
319
----------------
Q
QI JUN 已提交
320 321 322
..  autofunction:: paddle.v2.fluid.layers.conv2d_transpose
    :noindex:

Y
yangyaming 已提交
323

Y
yangyaming 已提交
324
sequence_expand
C
caoying03 已提交
325
---------------
Y
yangyaming 已提交
326
..  autofunction:: paddle.v2.fluid.layers.sequence_expand
Y
yangyaming 已提交
327
    :noindex:
Y
yangyaming 已提交
328 329


330 331 332 333 334 335
gru_unit
--------
..  autofunction:: paddle.v2.fluid.layers.gru_unit
    :noindex:


Y
yangyaming 已提交
336 337 338 339
lstm_unit
---------
..  autofunction:: paddle.v2.fluid.layers.lstm_unit
    :noindex:
340 341


Y
yangyaming 已提交
342
sequence_softmax
C
caoying03 已提交
343
----------------
Y
yangyaming 已提交
344 345 346
..  autofunction:: paddle.v2.fluid.layers.sequence_softmax
    :noindex:

G
guosheng 已提交
347 348

reduce_sum
C
caoying03 已提交
349
----------
G
guosheng 已提交
350 351 352
..  autofunction:: paddle.v2.fluid.layers.reduce_sum
    :noindex:

G
guosheng 已提交
353 354

reduce_mean
355
-----------
G
guosheng 已提交
356 357 358
..  autofunction:: paddle.v2.fluid.layers.reduce_mean
    :noindex:

359 360 361 362 363 364 365 366 367 368 369 370

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


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

G
guosheng 已提交
371 372 373 374 375 376

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

377 378 379 380 381 382

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

383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
logsigmoid
----------
..  autofunction:: paddle.v2.fluid.layers.logsigmoid
    :noindex:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

swish
------
..  autofunction:: paddle.v2.fluid.layers.swish
    :noindex:
C
caoying03 已提交
512

513
im2sequence
514
------
515
..  autofunction:: paddle.v2.fluid.layers.im2sequence
516
    :noindex:
517

518
edit_distance
519
---------------
520 521 522 523 524 525
..  autofunction:: paddle.v2.fluid.layers.edit_distance_error
    :noindex:

ctc_greedy_decoder
---------------
..  autofunction:: paddle.v2.fluid.layers.ctc_greedy_decoder
W
wanghaoshuang 已提交
526
    :noindex:
527

C
caoying03 已提交
528 529 530 531
l2_normalize
------------
..  autofunction:: paddle.v2.fluid.layers.l2_normalize
    :noindex:
532 533 534 535 536

sequence_reshape
----------------
..  autofunction:: paddle.v2.fluid.layers.sequence_reshape
    :noindex:
537

538 539 540 541
row_conv
--------
..  autofunction:: paddle.v2.fluid.layers.row_conv
    :noindex:
542

543 544 545 546
multiplex
---------
..  autofunction:: paddle.v2.fluid.layers.multiplex
    :noindex: