layer.rst.txt 8.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
..  _api_v2.layer:

======
Layers
======

Data layer
===========

..  _api_v2.layer_data:

data
----
14
..  autoclass:: paddle.v2.layer.data
15 16 17 18 19 20 21 22 23
    :noindex:

Fully Connected Layers
======================

..  _api_v2.layer_fc:

fc
--
24
..  autoclass:: paddle.v2.layer.fc
25 26 27 28
    :noindex:

selective_fc
------------
29
..  autoclass:: paddle.v2.layer.selective_fc
30 31 32 33 34 35 36
    :noindex:

Conv Layers
===========

conv_operator
-------------
37
..  autoclass:: paddle.v2.layer.conv_operator
38 39 40 41
    :noindex:

conv_projection
---------------
42
..  autoclass:: paddle.v2.layer.conv_projection
43 44 45 46
    :noindex:

conv_shift
----------
47
..  autoclass:: paddle.v2.layer.conv_shift
48 49 50 51
    :noindex:

img_conv
--------
52
..  autoclass:: paddle.v2.layer.img_conv
53 54 55 56
    :noindex:

..  _api_v2.layer_context_projection:

57
context_projection
58
------------------
59
..  autoclass:: paddle.v2.layer.context_projection
60 61
    :noindex:

62 63 64 65 66
row_conv
--------
..  autoclass:: paddle.v2.layer.row_conv
    :noindex:

67 68 69 70 71
Image Pooling Layer
===================

img_pool
--------
72
..  autoclass:: paddle.v2.layer.img_pool
73
    :noindex:
74 75 76

spp
---
77
..  autoclass:: paddle.v2.layer.spp
78 79 80 81
    :noindex:

maxout
------
82
..  autoclass:: paddle.v2.layer.maxout
83 84
    :noindex:

85 86 87 88 89
roi_pool
--------
..  autoclass:: paddle.v2.layer.roi_pool
    :noindex:

90 91 92 93 94
pad
----
..  autoclass:: paddle.v2.layer.pad
    :noindex:

95 96 97 98 99
Norm Layer
==========

img_cmrnorm
-----------
100
..  autoclass:: paddle.v2.layer.img_cmrnorm
101 102 103 104
    :noindex:

batch_norm
----------
105
..  autoclass:: paddle.v2.layer.batch_norm
106 107 108 109
    :noindex:

sum_to_one_norm
---------------
110
..  autoclass:: paddle.v2.layer.sum_to_one_norm
111
    :noindex:
112

113 114
cross_channel_norm
------------------
115
..  autoclass:: paddle.v2.layer.cross_channel_norm
116
    :noindex:
117 118 119 120 121

row_l2_norm
-----------
..  autoclass:: paddle.v2.layer.row_l2_norm
    :noindex:
122

123 124 125 126 127
Recurrent Layers
================

recurrent
---------
128
..  autoclass:: paddle.v2.layer.recurrent
129 130 131 132
    :noindex:

lstmemory
---------
133
..  autoclass:: paddle.v2.layer.lstmemory
134 135 136 137
    :noindex:

grumemory
---------
138
..  autoclass:: paddle.v2.layer.grumemory
139 140
    :noindex:

141 142 143 144 145
gated_unit
-----------
..  autoclass:: paddle.v2.layer.gated_unit
    :noindex:
    
146 147 148 149 150
Recurrent Layer Group
=====================

memory
------
151
..  autoclass:: paddle.v2.layer.memory
152 153 154 155
    :noindex:

recurrent_group
---------------
156
..  autoclass:: paddle.v2.layer.recurrent_group
157
    :noindex:
158

159 160
lstm_step
---------
161
..  autoclass:: paddle.v2.layer.lstm_step
162 163 164 165
    :noindex:

gru_step
--------
166
..  autoclass:: paddle.v2.layer.gru_step
167 168 169 170
    :noindex:

beam_search
------------
171
..  autoclass:: paddle.v2.layer.beam_search
172
    :noindex:
173

174 175
get_output
----------
176
..  autoclass:: paddle.v2.layer.get_output
177
    :noindex:
178

179 180 181 182 183 184 185
Mixed Layer
===========

..  _api_v2.layer_mixed:

mixed
-----
186
..  autoclass:: paddle.v2.layer.mixed
187 188 189 190 191 192
    :noindex:

..  _api_v2.layer_embedding:

embedding
---------
193
..  autoclass:: paddle.v2.layer.embedding
194 195 196 197
    :noindex:

scaling_projection
------------------
198
..  autoclass:: paddle.v2.layer.scaling_projection
199 200 201 202
    :noindex:

dotmul_projection
-----------------
203
..  autoclass:: paddle.v2.layer.dotmul_projection
204 205 206 207
    :noindex:

dotmul_operator
---------------
208
..  autoclass:: paddle.v2.layer.dotmul_operator
209 210 211 212
    :noindex:

full_matrix_projection
----------------------
213
..  autoclass:: paddle.v2.layer.full_matrix_projection
214 215 216 217
    :noindex:

identity_projection
-------------------
218
..  autoclass:: paddle.v2.layer.identity_projection
219 220
    :noindex:

221 222 223 224
slice_projection
-------------------
..  autoclass:: paddle.v2.layer.slice_projection
    :noindex:
225 226 227

table_projection
----------------
228
..  autoclass:: paddle.v2.layer.table_projection
229 230 231 232
    :noindex:

trans_full_matrix_projection
----------------------------
233
..  autoclass:: paddle.v2.layer.trans_full_matrix_projection
234
    :noindex:
235

236 237 238
Aggregate Layers
================

239 240 241 242 243
AggregateLevel
--------------
..  autoclass:: paddle.v2.layer.AggregateLevel
    :noindex:

244 245 246 247
..  _api_v2.layer_pooling:

pooling
-------
248
..  autoclass:: paddle.v2.layer.pooling
249 250 251 252 253 254
    :noindex:

..  _api_v2.layer_last_seq:

last_seq
--------
255
..  autoclass:: paddle.v2.layer.last_seq
256 257 258 259 260 261
    :noindex:

..  _api_v2.layer_first_seq:

first_seq
---------
262
..  autoclass:: paddle.v2.layer.first_seq
263 264
    :noindex:

265 266 267 268 269
sub_seq
---------
..  autoclass:: paddle.v2.layer.sub_seq
    :noindex:

270 271
concat
------
272
..  autoclass:: paddle.v2.layer.concat
273 274 275 276
    :noindex:

seq_concat
----------
277
..  autoclass:: paddle.v2.layer.seq_concat
278 279
    :noindex:

280 281 282 283 284
seq_slice
---------
..  autoclass:: paddle.v2.layer.seq_slice
    :noindex:

285 286 287 288 289
kmax_sequence_score
-------------------
..  autoclass:: paddle.v2.layer.kmax_sequence_score
    :noindex:

290 291 292 293 294
sub_nested_seq
--------------
..  autoclass:: paddle.v2.layer.sub_nested_seq
    :noindex:

295 296 297 298 299
Reshaping Layers
================

block_expand
------------
300
..  autoclass:: paddle.v2.layer.block_expand
301 302 303 304
    :noindex:

..  _api_v2.layer_expand:

305 306 307 308 309
ExpandLevel
-----------
..  autoclass:: paddle.v2.layer.ExpandLevel
    :noindex:

310 311
expand
------
312
..  autoclass:: paddle.v2.layer.expand
313 314 315 316
    :noindex:

repeat
------
317
..  autoclass:: paddle.v2.layer.repeat
318 319 320 321
    :noindex:

rotate
------
322
..  autoclass:: paddle.v2.layer.rotate
323 324 325 326
    :noindex:

seq_reshape
-----------
327
..  autoclass:: paddle.v2.layer.seq_reshape
328 329 330 331 332 333 334
    :noindex:

Math Layers
===========

addto
-----
335
..  autoclass:: paddle.v2.layer.addto
336 337 338 339
    :noindex:

linear_comb
-----------
340
..  autoclass:: paddle.v2.layer.linear_comb
341 342 343 344
    :noindex:

interpolation
-------------
345
..  autoclass:: paddle.v2.layer.interpolation
346 347 348 349
    :noindex:

bilinear_interp
---------------
350
..  autoclass:: paddle.v2.layer.bilinear_interp
351 352
    :noindex:

353 354 355 356 357
dropout
--------
..  autoclass:: paddle.v2.layer.dropout
    :noindex:
    
358 359 360 361 362 363 364 365 366 367
dot_prod
---------
.. autoclass:: paddle.v2.layer.dot_prod
    :noindex:

out_prod
--------
.. autoclass:: paddle.v2.layer.out_prod
    :noindex:

368 369
power
-----
370
..  autoclass:: paddle.v2.layer.power
371 372 373 374
    :noindex:

scaling
-------
375
..  autoclass:: paddle.v2.layer.scaling
376 377
    :noindex:

378 379 380 381 382
clip
----
..  autoclass:: paddle.v2.layer.clip
    :noindex:

383 384 385 386 387
resize
------
..  autoclass:: paddle.v2.layer.resize
    :noindex:

388 389
slope_intercept
---------------
390
..  autoclass:: paddle.v2.layer.slope_intercept
391 392 393 394
    :noindex:

tensor
------
395
..  autoclass:: paddle.v2.layer.tensor
396 397 398 399 400 401
    :noindex:

..  _api_v2.layer_cos_sim:

cos_sim
-------
402
..  autoclass:: paddle.v2.layer.cos_sim
403 404
    :noindex:

405 406 407 408 409
l2_distance
-----------
..  autoclass:: paddle.v2.layer.l2_distance
    :noindex:

410 411
trans
-----
412
..  autoclass:: paddle.v2.layer.trans
413 414
    :noindex:

415 416 417 418 419
scale_shift
-----------
..  autoclass:: paddle.v2.layer.scale_shift
    :noindex:

420 421 422 423 424
factorization_machine
---------------------
..  autoclass:: paddle.v2.layer.factorization_machine
    :noindex:

425 426 427 428 429
Sampling Layers
===============

maxid
-----
430
..  autoclass:: paddle.v2.layer.max_id
431 432 433 434
    :noindex:

sampling_id
-----------
435
..  autoclass:: paddle.v2.layer.sampling_id
436 437
    :noindex:

438 439 440 441 442
multiplex
---------
..  autoclass:: paddle.v2.layer.multiplex
    :noindex:

443 444 445 446 447 448 449
..  _api_v2.layer_costs:

Cost Layers
===========

cross_entropy_cost
------------------
450
..  autoclass:: paddle.v2.layer.cross_entropy_cost
451 452 453 454
    :noindex:

cross_entropy_with_selfnorm_cost
--------------------------------
455
..  autoclass:: paddle.v2.layer.cross_entropy_with_selfnorm_cost
456 457 458 459
    :noindex:

multi_binary_label_cross_entropy_cost
-------------------------------------
460
..  autoclass:: paddle.v2.layer.multi_binary_label_cross_entropy_cost
461 462
    :noindex:

463 464 465 466 467 468 469 470
huber_regression_cost
-------------------------
..  autoclass:: paddle.v2.layer.huber_regression_cost
    :noindex:

huber_classification_cost
-------------------------
..  autoclass:: paddle.v2.layer.huber_classification_cost
471 472 473 474
    :noindex:

lambda_cost
-----------
475 476 477
..  autoclass:: paddle.v2.layer.lambda_cost
    :noindex:

478
square_error_cost
479
-----------------
480
..  autoclass:: paddle.v2.layer.square_error_cost
481 482 483 484
    :noindex:

rank_cost
---------
485
..  autoclass:: paddle.v2.layer.rank_cost
486 487 488 489
    :noindex:

sum_cost
---------
490
..  autoclass:: paddle.v2.layer.sum_cost
491 492 493 494
    :noindex:

crf
---
495
..  autoclass:: paddle.v2.layer.crf
496 497 498 499
    :noindex:

crf_decoding
------------
500
..  autoclass:: paddle.v2.layer.crf_decoding
501 502 503 504
    :noindex:

ctc
---
505
..  autoclass:: paddle.v2.layer.ctc
506 507 508 509
    :noindex:

warp_ctc
--------
510
..  autoclass:: paddle.v2.layer.warp_ctc
511 512 513 514
    :noindex:

nce
---
515
..  autoclass:: paddle.v2.layer.nce
516 517 518 519
    :noindex:

hsigmoid
---------
520
..  autoclass:: paddle.v2.layer.hsigmoid
521 522
    :noindex:

523 524 525 526 527
smooth_l1_cost
--------------
..  autoclass:: paddle.v2.layer.smooth_l1_cost
    :noindex:

528 529 530 531 532
multibox_loss
--------------
..  autoclass:: paddle.v2.layer.multibox_loss
    :noindex:

533 534 535 536 537
detection_output
----------------
..  autoclass:: paddle.v2.layer.detection_output
    :noindex:
    
538
Check Layer
539 540 541 542
============

eos
---
543
..  autoclass:: paddle.v2.layer.eos
544
    :noindex:
545

546 547
Activation
==========
548 549 550 551 552

prelu
--------
..  autoclass:: paddle.v2.layer.prelu
    :noindex: