layers.rst.txt 11.9 KB
Newer Older
1 2
..  THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
    !DO NOT EDIT THIS FILE MANUALLY!
3

4 5 6
======
layers
======
7

8 9 10 11 12 13 14
control_flow
============

split_lod_tensor
----------------

..  autofunction:: paddle.v2.fluid.layers.split_lod_tensor
15 16
    :noindex:

17 18 19 20
merge_lod_tensor
----------------

..  autofunction:: paddle.v2.fluid.layers.merge_lod_tensor
21 22
    :noindex:

23 24 25 26 27
BlockGuard
----------

..  autoclass:: paddle.v2.fluid.layers.BlockGuard
    :members:
28 29
    :noindex:

30 31 32 33 34
BlockGuardWithCompletion
------------------------

..  autoclass:: paddle.v2.fluid.layers.BlockGuardWithCompletion
    :members:
35 36
    :noindex:

37 38 39 40 41
StaticRNNMemoryLink
-------------------

..  autoclass:: paddle.v2.fluid.layers.StaticRNNMemoryLink
    :members:
42 43
    :noindex:

44 45 46 47 48
WhileGuard
----------

..  autoclass:: paddle.v2.fluid.layers.WhileGuard
    :members:
49 50
    :noindex:

51 52 53 54 55
While
-----

..  autoclass:: paddle.v2.fluid.layers.While
    :members:
56 57
    :noindex:

58 59 60 61
lod_rank_table
--------------

..  autofunction:: paddle.v2.fluid.layers.lod_rank_table
62 63
    :noindex:

64 65 66 67
max_sequence_len
----------------

..  autofunction:: paddle.v2.fluid.layers.max_sequence_len
68 69
    :noindex:

70 71 72 73
topk
----

..  autofunction:: paddle.v2.fluid.layers.topk
74 75
    :noindex:

76 77 78 79
lod_tensor_to_array
-------------------

..  autofunction:: paddle.v2.fluid.layers.lod_tensor_to_array
80 81
    :noindex:

82 83 84 85
array_to_lod_tensor
-------------------

..  autofunction:: paddle.v2.fluid.layers.array_to_lod_tensor
86 87
    :noindex:

88 89
increment
---------
90

91
..  autofunction:: paddle.v2.fluid.layers.increment
92 93
    :noindex:

94 95
array_write
-----------
96

97
..  autofunction:: paddle.v2.fluid.layers.array_write
98 99
    :noindex:

100 101
create_array
------------
102

103 104 105 106
..  autofunction:: paddle.v2.fluid.layers.create_array
    :noindex:

less_than
107
---------
108 109

..  autofunction:: paddle.v2.fluid.layers.less_than
110 111
    :noindex:

112 113
array_read
----------
114

115 116 117 118 119 120 121
..  autofunction:: paddle.v2.fluid.layers.array_read
    :noindex:

shrink_memory
-------------

..  autofunction:: paddle.v2.fluid.layers.shrink_memory
122 123
    :noindex:

124 125
array_length
------------
126

127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
..  autofunction:: paddle.v2.fluid.layers.array_length
    :noindex:

IfElse
------

..  autoclass:: paddle.v2.fluid.layers.IfElse
    :members:
    :noindex:

DynamicRNN
----------

..  autoclass:: paddle.v2.fluid.layers.DynamicRNN
    :members:
    :noindex:

ConditionalBlock
----------------

..  autoclass:: paddle.v2.fluid.layers.ConditionalBlock
    :members:
    :noindex:

StaticRNN
152
---------
153 154 155

..  autoclass:: paddle.v2.fluid.layers.StaticRNN
    :members:
156 157
    :noindex:

158 159
reorder_lod_tensor_by_rank
--------------------------
160

161
..  autofunction:: paddle.v2.fluid.layers.reorder_lod_tensor_by_rank
162 163
    :noindex:

164 165
ParallelDo
----------
166

167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
..  autoclass:: paddle.v2.fluid.layers.ParallelDo
    :members:
    :noindex:

Print
-----

..  autofunction:: paddle.v2.fluid.layers.Print
    :noindex:

device
======

get_places
----------

..  autofunction:: paddle.v2.fluid.layers.get_places
    :noindex:

io
==

data
190
----
191 192

..  autofunction:: paddle.v2.fluid.layers.data
193 194
    :noindex:

195 196
BlockGuardServ
--------------
197

198 199
..  autoclass:: paddle.v2.fluid.layers.BlockGuardServ
    :members:
200 201
    :noindex:

202 203
ListenAndServ
-------------
204

205 206 207 208 209
..  autoclass:: paddle.v2.fluid.layers.ListenAndServ
    :members:
    :noindex:

Send
210
----
211 212

..  autofunction:: paddle.v2.fluid.layers.Send
213 214
    :noindex:

215 216
nn
==
217

218 219 220 221
fc
--

..  autofunction:: paddle.v2.fluid.layers.fc
222 223
    :noindex:

224 225
embedding
---------
226 227 228 229

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

230 231
dynamic_lstm
------------
232

233
..  autofunction:: paddle.v2.fluid.layers.dynamic_lstm
234 235
    :noindex:

236 237
dynamic_lstmp
-------------
238

239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
..  autofunction:: paddle.v2.fluid.layers.dynamic_lstmp
    :noindex:

dynamic_gru
-----------

..  autofunction:: paddle.v2.fluid.layers.dynamic_gru
    :noindex:

gru_unit
--------

..  autofunction:: paddle.v2.fluid.layers.gru_unit
    :noindex:

linear_chain_crf
255
----------------
256 257 258 259 260 261 262 263

..  autofunction:: paddle.v2.fluid.layers.linear_chain_crf
    :noindex:

crf_decoding
------------

..  autofunction:: paddle.v2.fluid.layers.crf_decoding
264 265 266
    :noindex:

cos_sim
267 268
-------

269 270 271 272
..  autofunction:: paddle.v2.fluid.layers.cos_sim
    :noindex:

cross_entropy
273
-------------
274

275 276 277 278
..  autofunction:: paddle.v2.fluid.layers.cross_entropy
    :noindex:

square_error_cost
279
-----------------
280

281 282 283 284
..  autofunction:: paddle.v2.fluid.layers.square_error_cost
    :noindex:

accuracy
285 286
--------

287 288 289
..  autofunction:: paddle.v2.fluid.layers.accuracy
    :noindex:

290 291 292 293 294
chunk_eval
----------

..  autofunction:: paddle.v2.fluid.layers.chunk_eval
    :noindex:
295 296

sequence_conv
297
-------------
298

299 300 301 302
..  autofunction:: paddle.v2.fluid.layers.sequence_conv
    :noindex:

conv2d
303
------
304

305 306 307 308
..  autofunction:: paddle.v2.fluid.layers.conv2d
    :noindex:

sequence_pool
309
-------------
310

311 312 313
..  autofunction:: paddle.v2.fluid.layers.sequence_pool
    :noindex:

314 315
pool2d
------
316

317
..  autofunction:: paddle.v2.fluid.layers.pool2d
318 319
    :noindex:

320 321 322 323 324
batch_norm
----------

..  autofunction:: paddle.v2.fluid.layers.batch_norm
    :noindex:
325

326 327 328 329 330 331
layer_norm
----------

..  autofunction:: paddle.v2.fluid.layers.layer_norm
    :noindex:

332
beam_search_decode
333
------------------
334 335

..  autofunction:: paddle.v2.fluid.layers.beam_search_decode
336 337
    :noindex:

338 339
conv2d_transpose
----------------
340

341
..  autofunction:: paddle.v2.fluid.layers.conv2d_transpose
342 343
    :noindex:

344 345
sequence_expand
---------------
346

347 348 349 350 351 352 353 354 355 356
..  autofunction:: paddle.v2.fluid.layers.sequence_expand
    :noindex:

lstm_unit
---------

..  autofunction:: paddle.v2.fluid.layers.lstm_unit
    :noindex:

reduce_sum
357
----------
358 359 360 361 362 363 364 365

..  autofunction:: paddle.v2.fluid.layers.reduce_sum
    :noindex:

reduce_mean
-----------

..  autofunction:: paddle.v2.fluid.layers.reduce_mean
366 367
    :noindex:

368 369 370 371 372
reduce_max
----------

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

374 375 376 377 378 379 380 381 382 383 384 385 386
reduce_min
----------

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

sequence_first_step
-------------------

..  autofunction:: paddle.v2.fluid.layers.sequence_first_step
    :noindex:

sequence_last_step
387
------------------
388 389 390 391 392 393 394 395

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

dropout
-------

..  autofunction:: paddle.v2.fluid.layers.dropout
396 397
    :noindex:

398 399
split
-----
400

401
..  autofunction:: paddle.v2.fluid.layers.split
402 403
    :noindex:

404 405
ctc_greedy_decoder
------------------
406

407
..  autofunction:: paddle.v2.fluid.layers.ctc_greedy_decoder
408 409
    :noindex:

410 411
edit_distance
-------------
412

413
..  autofunction:: paddle.v2.fluid.layers.edit_distance
414 415
    :noindex:

416 417
l2_normalize
------------
418

419
..  autofunction:: paddle.v2.fluid.layers.l2_normalize
420 421
    :noindex:

422 423
matmul
------
424

425
..  autofunction:: paddle.v2.fluid.layers.matmul
426 427
    :noindex:

428 429
warpctc
-------
430

431 432
..  autofunction:: paddle.v2.fluid.layers.warpctc
    :noindex:
433

434 435
sequence_reshape
----------------
436

437
..  autofunction:: paddle.v2.fluid.layers.sequence_reshape
438 439
    :noindex:

440 441
transpose
---------
442

443 444
..  autofunction:: paddle.v2.fluid.layers.transpose
    :noindex:
445

446 447 448 449
im2sequence
-----------

..  autofunction:: paddle.v2.fluid.layers.im2sequence
450 451
    :noindex:

452 453
nce
---
454

455
..  autofunction:: paddle.v2.fluid.layers.nce
456 457
    :noindex:

458 459
beam_search
-----------
460

461
..  autofunction:: paddle.v2.fluid.layers.beam_search
462 463
    :noindex:

464 465
row_conv
--------
466

467
..  autofunction:: paddle.v2.fluid.layers.row_conv
468 469
    :noindex:

470 471
multiplex
---------
472

473
..  autofunction:: paddle.v2.fluid.layers.multiplex
474 475
    :noindex:

476 477
ops
===
478

479 480
mean
----
481

482
..  autofunction:: paddle.v2.fluid.layers.mean
483 484
    :noindex:

485 486
mul
---
487

488
..  autofunction:: paddle.v2.fluid.layers.mul
489 490
    :noindex:

491 492
reshape
-------
493

494
..  autofunction:: paddle.v2.fluid.layers.reshape
495 496
    :noindex:

497 498
scale
-----
499

500
..  autofunction:: paddle.v2.fluid.layers.scale
501 502
    :noindex:

503 504
sigmoid_cross_entropy_with_logits
---------------------------------
505

506
..  autofunction:: paddle.v2.fluid.layers.sigmoid_cross_entropy_with_logits
507 508
    :noindex:

509 510
elementwise_add
---------------
511

512
..  autofunction:: paddle.v2.fluid.layers.elementwise_add
513 514
    :noindex:

515
elementwise_div
516
---------------
517 518

..  autofunction:: paddle.v2.fluid.layers.elementwise_div
519
    :noindex:
520

521 522
elementwise_sub
---------------
523

524
..  autofunction:: paddle.v2.fluid.layers.elementwise_sub
525 526
    :noindex:

527 528
elementwise_mul
---------------
529

530
..  autofunction:: paddle.v2.fluid.layers.elementwise_mul
531
    :noindex:
532

533 534
elementwise_max
---------------
535

536
..  autofunction:: paddle.v2.fluid.layers.elementwise_max
537 538
    :noindex:

539 540
elementwise_min
---------------
541

542
..  autofunction:: paddle.v2.fluid.layers.elementwise_min
543 544
    :noindex:

545 546
elementwise_pow
---------------
547

548
..  autofunction:: paddle.v2.fluid.layers.elementwise_pow
549 550
    :noindex:

551 552
clip
----
553

554
..  autofunction:: paddle.v2.fluid.layers.clip
555 556
    :noindex:

557 558
clip_by_norm
------------
559

560
..  autofunction:: paddle.v2.fluid.layers.clip_by_norm
561 562
    :noindex:

563 564
sequence_softmax
----------------
565

566
..  autofunction:: paddle.v2.fluid.layers.sequence_softmax
567 568
    :noindex:

569 570
sigmoid
-------
571

572
..  autofunction:: paddle.v2.fluid.layers.sigmoid
573 574
    :noindex:

575 576
logsigmoid
----------
577

578 579 580 581 582
..  autofunction:: paddle.v2.fluid.layers.logsigmoid
    :noindex:

exp
---
583

584 585 586 587 588
..  autofunction:: paddle.v2.fluid.layers.exp
    :noindex:

relu
----
589

590 591 592 593 594
..  autofunction:: paddle.v2.fluid.layers.relu
    :noindex:

tanh
----
595

596 597 598 599 600
..  autofunction:: paddle.v2.fluid.layers.tanh
    :noindex:

tanh_shrink
-----------
601

602 603 604 605 606
..  autofunction:: paddle.v2.fluid.layers.tanh_shrink
    :noindex:

softshrink
----------
607

608 609 610 611 612
..  autofunction:: paddle.v2.fluid.layers.softshrink
    :noindex:

sqrt
----
613

614 615 616 617
..  autofunction:: paddle.v2.fluid.layers.sqrt
    :noindex:

abs
618 619
---

620 621 622 623 624
..  autofunction:: paddle.v2.fluid.layers.abs
    :noindex:

ceil
----
625

626 627 628 629 630
..  autofunction:: paddle.v2.fluid.layers.ceil
    :noindex:

floor
-----
631

632 633 634 635 636
..  autofunction:: paddle.v2.fluid.layers.floor
    :noindex:

round
-----
637

638 639 640 641 642
..  autofunction:: paddle.v2.fluid.layers.round
    :noindex:

reciprocal
----------
643

644 645 646 647 648
..  autofunction:: paddle.v2.fluid.layers.reciprocal
    :noindex:

log
---
649

650 651 652 653 654
..  autofunction:: paddle.v2.fluid.layers.log
    :noindex:

square
------
655

656 657 658 659 660
..  autofunction:: paddle.v2.fluid.layers.square
    :noindex:

softplus
--------
661

662 663 664 665
..  autofunction:: paddle.v2.fluid.layers.softplus
    :noindex:

softsign
666 667
--------

668 669 670 671 672
..  autofunction:: paddle.v2.fluid.layers.softsign
    :noindex:

brelu
-----
673

674 675 676 677 678
..  autofunction:: paddle.v2.fluid.layers.brelu
    :noindex:

leaky_relu
----------
679

680 681 682 683 684
..  autofunction:: paddle.v2.fluid.layers.leaky_relu
    :noindex:

soft_relu
---------
685

686 687 688 689
..  autofunction:: paddle.v2.fluid.layers.soft_relu
    :noindex:

elu
690 691
---

692 693 694 695 696
..  autofunction:: paddle.v2.fluid.layers.elu
    :noindex:

relu6
-----
697

698 699 700 701
..  autofunction:: paddle.v2.fluid.layers.relu6
    :noindex:

pow
702 703
---

704 705 706
..  autofunction:: paddle.v2.fluid.layers.pow
    :noindex:

707 708 709 710 711 712
stanh
-----

..  autofunction:: paddle.v2.fluid.layers.stanh
    :noindex:

713 714
hard_shrink
-----------
715

716 717 718 719 720
..  autofunction:: paddle.v2.fluid.layers.hard_shrink
    :noindex:

thresholded_relu
----------------
721

722 723 724 725
..  autofunction:: paddle.v2.fluid.layers.thresholded_relu
    :noindex:

hard_sigmoid
726 727
------------

728 729 730 731
..  autofunction:: paddle.v2.fluid.layers.hard_sigmoid
    :noindex:

swish
732 733
-----

734 735
..  autofunction:: paddle.v2.fluid.layers.swish
    :noindex:
736

737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764
tensor
======

create_tensor
-------------

..  autofunction:: paddle.v2.fluid.layers.create_tensor
    :noindex:

create_parameter
----------------

..  autofunction:: paddle.v2.fluid.layers.create_parameter
    :noindex:

create_global_var
-----------------

..  autofunction:: paddle.v2.fluid.layers.create_global_var
    :noindex:

cast
----

..  autofunction:: paddle.v2.fluid.layers.cast
    :noindex:

concat
765
------
766 767

..  autofunction:: paddle.v2.fluid.layers.concat
768 769
    :noindex:

770 771 772 773
sums
----

..  autofunction:: paddle.v2.fluid.layers.sums
774 775
    :noindex:

776 777 778 779
assign
------

..  autofunction:: paddle.v2.fluid.layers.assign
780 781
    :noindex:

782 783 784 785
fill_constant_batch_size_like
-----------------------------

..  autofunction:: paddle.v2.fluid.layers.fill_constant_batch_size_like
786
    :noindex:
787

788 789 790 791
fill_constant
-------------

..  autofunction:: paddle.v2.fluid.layers.fill_constant
792
    :noindex:
793

794 795 796 797
ones
----

..  autofunction:: paddle.v2.fluid.layers.ones
798
    :noindex:
799

800 801 802 803
zeros
-----

..  autofunction:: paddle.v2.fluid.layers.zeros
804
    :noindex:
805