layers.rst.txt 11.8 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
beam_search_decode
327
------------------
328 329

..  autofunction:: paddle.v2.fluid.layers.beam_search_decode
330 331
    :noindex:

332 333
conv2d_transpose
----------------
334

335
..  autofunction:: paddle.v2.fluid.layers.conv2d_transpose
336 337
    :noindex:

338 339
sequence_expand
---------------
340

341 342 343 344 345 346 347 348 349 350
..  autofunction:: paddle.v2.fluid.layers.sequence_expand
    :noindex:

lstm_unit
---------

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

reduce_sum
351
----------
352 353 354 355 356 357 358 359

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

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

..  autofunction:: paddle.v2.fluid.layers.reduce_mean
360 361
    :noindex:

362 363 364 365 366
reduce_max
----------

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

368 369 370 371 372 373 374 375 376 377 378 379 380
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
381
------------------
382 383 384 385 386 387 388 389

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

dropout
-------

..  autofunction:: paddle.v2.fluid.layers.dropout
390 391
    :noindex:

392 393
split
-----
394

395
..  autofunction:: paddle.v2.fluid.layers.split
396 397
    :noindex:

398 399
ctc_greedy_decoder
------------------
400

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

404 405
edit_distance
-------------
406

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

410 411
l2_normalize
------------
412

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

416 417
matmul
------
418

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

422 423
warpctc
-------
424

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

428 429
sequence_reshape
----------------
430

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

434 435
transpose
---------
436

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

440 441 442 443
im2sequence
-----------

..  autofunction:: paddle.v2.fluid.layers.im2sequence
444 445
    :noindex:

446 447
nce
---
448

449
..  autofunction:: paddle.v2.fluid.layers.nce
450 451
    :noindex:

452 453
beam_search
-----------
454

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

458 459
row_conv
--------
460

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

464 465
multiplex
---------
466

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

470 471
ops
===
472

473 474
mean
----
475

476
..  autofunction:: paddle.v2.fluid.layers.mean
477 478
    :noindex:

479 480
mul
---
481

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

485 486
reshape
-------
487

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

491 492
scale
-----
493

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

497 498
sigmoid_cross_entropy_with_logits
---------------------------------
499

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

503 504
elementwise_add
---------------
505

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

509
elementwise_div
510
---------------
511 512

..  autofunction:: paddle.v2.fluid.layers.elementwise_div
513
    :noindex:
514

515 516
elementwise_sub
---------------
517

518
..  autofunction:: paddle.v2.fluid.layers.elementwise_sub
519 520
    :noindex:

521 522
elementwise_mul
---------------
523

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

527 528
elementwise_max
---------------
529

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

533 534
elementwise_min
---------------
535

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

539 540
elementwise_pow
---------------
541

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

545 546
clip
----
547

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

551 552
clip_by_norm
------------
553

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

557 558
sequence_softmax
----------------
559

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

563 564
sigmoid
-------
565

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

569 570
logsigmoid
----------
571

572 573 574 575 576
..  autofunction:: paddle.v2.fluid.layers.logsigmoid
    :noindex:

exp
---
577

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

relu
----
583

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

tanh
----
589

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

tanh_shrink
-----------
595

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

softshrink
----------
601

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

sqrt
----
607

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

abs
612 613
---

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

ceil
----
619

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

floor
-----
625

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

round
-----
631

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

reciprocal
----------
637

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

log
---
643

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

square
------
649

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

softplus
--------
655

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

softsign
660 661
--------

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

brelu
-----
667

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

leaky_relu
----------
673

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

soft_relu
---------
679

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

elu
684 685
---

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

relu6
-----
691

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

pow
696 697
---

698 699 700
..  autofunction:: paddle.v2.fluid.layers.pow
    :noindex:

701 702 703 704 705 706
stanh
-----

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

707 708
hard_shrink
-----------
709

710 711 712 713 714
..  autofunction:: paddle.v2.fluid.layers.hard_shrink
    :noindex:

thresholded_relu
----------------
715

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

hard_sigmoid
720 721
------------

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

swish
726 727
-----

728 729
..  autofunction:: paddle.v2.fluid.layers.swish
    :noindex:
730

731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758
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
759
------
760 761

..  autofunction:: paddle.v2.fluid.layers.concat
762 763
    :noindex:

764 765 766 767
sums
----

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

770 771 772 773
assign
------

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

776 777 778 779
fill_constant_batch_size_like
-----------------------------

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

782 783 784 785
fill_constant
-------------

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

788 789 790 791
ones
----

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

794 795 796 797
zeros
-----

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