layers.rst 10.3 KB
Newer Older
L
Luo Tao 已提交
1 2
..  _api_trainer_config_helpers_layers:

3 4 5 6
======
Layers
======

Z
zhangjinchao01 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Base
======

LayerType
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: LayerType
    :noindex:

LayerOutput
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: LayerOutput
    :noindex:

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

25 26
..  _api_trainer_config_helpers_layers_data_layer:

Z
zhangjinchao01 已提交
27 28 29 30 31 32 33 34 35
data_layer
----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: data_layer
    :noindex:

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

36 37
..  _api_trainer_config_helpers_layers_fc_layer:

Z
zhangjinchao01 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
fc_layer
--------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: fc_layer
    :noindex:

selective_fc_layer
------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: selective_fc_layer
    :noindex:

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

conv_operator
-------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: conv_operator
    :noindex:

Q
qijun 已提交
59
conv_projection
60
---------------
Q
qijun 已提交
61 62 63 64
..  automodule:: paddle.trainer_config_helpers.layers
    :members: conv_projection
    :noindex:

Z
zhangjinchao01 已提交
65 66 67 68 69 70 71 72 73 74 75 76
conv_shift_layer
------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: conv_shift_layer
    :noindex:

img_conv_layer
--------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: img_conv_layer
    :noindex:

77 78
..  _api_trainer_config_helpers_layers_context_projection:

Z
zhangjinchao01 已提交
79 80 81 82 83 84 85 86 87 88 89 90 91
context_projection 
------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: context_projection
    :noindex:

Image Pooling Layer
===================

img_pool_layer
--------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: img_pool_layer
Q
qijun 已提交
92 93 94 95 96 97
    :noindex:   

spp_layer
--------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: spp_layer
Z
zhangjinchao01 已提交
98 99
    :noindex:

100 101 102 103 104 105
maxout_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: maxout_layer
    :noindex:

Z
zhangjinchao01 已提交
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 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
Norm Layer
==========

img_cmrnorm_layer
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: img_cmrnorm_layer
    :noindex:

batch_norm_layer
---------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: batch_norm_layer
    :noindex:

sum_to_one_norm_layer
---------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: sum_to_one_norm_layer
    :noindex:
    
Recurrent Layers
================

recurrent_layer
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: recurrent_layer
    :noindex:

lstmemory
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: lstmemory
    :noindex:

grumemory
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: grumemory
    :noindex:

Recurrent Layer Group
=====================

151 152 153 154 155 156
memory
------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: memory
    :noindex:

L
luotao02 已提交
157 158 159 160 161 162
recurrent_group
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: recurrent_group
    :noindex:
    
L
Luo Tao 已提交
163 164 165 166 167 168 169 170 171 172 173 174
lstm_step_layer
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: lstm_step_layer
    :noindex:

gru_step_layer
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: gru_step_layer
    :noindex:

L
luotao02 已提交
175 176 177 178 179 180
beam_search
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: beam_search
    :noindex:
    
Z
zhangjinchao01 已提交
181 182 183 184 185 186 187 188 189
get_output_layer
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: get_output_layer
    :noindex:
    
Mixed Layer
===========

190 191
..  _api_trainer_config_helpers_layers_mixed_layer:

Z
zhangjinchao01 已提交
192 193 194 195 196 197
mixed_layer
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: mixed_layer
    :noindex:

198 199
..  _api_trainer_config_helpers_layers_embedding_layer:

Z
zhangjinchao01 已提交
200 201 202 203 204
embedding_layer
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: embedding_layer
    :noindex:
X
xuwei06 已提交
205 206

scaling_projection
207
------------------
X
xuwei06 已提交
208 209 210
..  automodule:: paddle.trainer_config_helpers.layers
    :members: scaling_projection
    :noindex:
Z
zhangjinchao01 已提交
211 212 213 214 215 216 217

dotmul_projection
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: dotmul_projection
    :noindex:

218 219 220 221 222 223
dotmul_operator
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: dotmul_operator
    :noindex:

Z
zhangjinchao01 已提交
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
full_matrix_projection
----------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: full_matrix_projection
    :noindex:

identity_projection
-------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: identity_projection
    :noindex:


table_projection
----------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: table_projection
    :noindex:

trans_full_matrix_projection
----------------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: trans_full_matrix_projection
    :noindex:
    
Aggregate Layers
================

252 253
..  _api_trainer_config_helpers_layers_pooling_layer:

Z
zhangjinchao01 已提交
254 255 256 257 258 259
pooling_layer
-------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: pooling_layer
    :noindex:

260 261
..  _api_trainer_config_helpers_layers_last_seq:

Z
zhangjinchao01 已提交
262 263 264 265 266 267
last_seq
--------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: last_seq
    :noindex:

268 269
..  _api_trainer_config_helpers_layers_first_seq:

Z
zhangjinchao01 已提交
270 271 272 273 274 275 276 277 278 279 280 281
first_seq
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: first_seq
    :noindex:

concat_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: concat_layer
    :noindex:

282 283 284 285 286 287
seq_concat_layer
----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: seq_concat_layer
    :noindex:

Z
zhangjinchao01 已提交
288 289 290 291 292 293 294 295 296
Reshaping Layers
================

block_expand_layer
------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: block_expand_layer
    :noindex:

297 298
..  _api_trainer_config_helpers_layers_expand_layer:

Z
zhangjinchao01 已提交
299 300 301 302 303 304
expand_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: expand_layer
    :noindex:

X
xuwei06 已提交
305 306 307 308 309 310
repeat_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: repeat_layer
    :noindex:

L
Luo Tao 已提交
311 312 313 314 315 316
rotate_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: rotate_layer
    :noindex:

317 318 319 320 321 322
seq_reshape_layer
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: seq_reshape_layer
    :noindex:

Z
zhangjinchao01 已提交
323 324 325 326 327 328 329 330 331
Math Layers
===========

addto_layer
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: addto_layer
    :noindex:

332
linear_comb_layer
Z
zhangjinchao01 已提交
333 334
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
335
    :members: linear_comb_layer
Z
zhangjinchao01 已提交
336 337 338 339 340 341 342 343
    :noindex:

interpolation_layer
-------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: interpolation_layer
    :noindex:

L
liaogang 已提交
344
bilinear_interp_layer
L
liaogang 已提交
345
----------------------
L
liaogang 已提交
346 347 348 349
..  automodule:: paddle.trainer_config_helpers.layers
    :members: bilinear_interp_layer
    :noindex:

Z
zhangjinchao01 已提交
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
power_layer
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: power_layer
    :noindex:

scaling_layer
-------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: scaling_layer
    :noindex:

slope_intercept_layer
----------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: slope_intercept_layer
    :noindex:

tensor_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: tensor_layer
    :noindex:
373

374 375
..  _api_trainer_config_helpers_layers_cos_sim:

376 377 378 379 380 381
cos_sim
-------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: cos_sim
    :noindex:

Z
zhangjinchao01 已提交
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402
trans_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: trans_layer
    :noindex:

Sampling Layers
===============

maxid_layer
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: maxid_layer
    :noindex:

sampling_id_layer
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: sampling_id_layer
    :noindex:

D
dangqingqing 已提交
403 404 405 406 407 408 409 410 411
Slicing and Joining Layers
==========================

pad_layer
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: pad_layer
    :noindex:

412 413
..  _api_trainer_config_helpers_layers_cost_layers:

Z
zhangjinchao01 已提交
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434
Cost Layers
===========

cross_entropy
-------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: cross_entropy
    :noindex:

cross_entropy_with_selfnorm
---------------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: cross_entropy_with_selfnorm
    :noindex:

multi_binary_label_cross_entropy
--------------------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: multi_binary_label_cross_entropy
    :noindex:

L
Luo Tao 已提交
435 436 437 438 439 440
mse_cost
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: mse_cost
    :noindex:

Z
zhangjinchao01 已提交
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458
huber_cost
----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: huber_cost
    :noindex:

lambda_cost
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: lambda_cost
    :noindex:

rank_cost
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: rank_cost
    :noindex:

L
Luo Tao 已提交
459 460 461 462 463 464
sum_cost
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: sum_cost
    :noindex:

Z
zhangjinchao01 已提交
465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482
crf_layer
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: crf_layer
    :noindex:

crf_decoding_layer
-------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: crf_decoding_layer
    :noindex:

ctc_layer
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: ctc_layer
    :noindex:

L
Luo Tao 已提交
483 484 485 486 487 488
warp_ctc_layer
--------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: warp_ctc_layer
    :noindex:

489 490 491 492 493 494
nce_layer
-----------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: nce_layer
    :noindex:

Z
zhangjinchao01 已提交
495 496 497 498 499 500
hsigmoid
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: hsigmoid
    :noindex:

501 502
smooth_l1_cost
--------------
D
dangqingqing 已提交
503
..  automodule:: paddle.trainer_config_helpers.layers
504
    :members: smooth_l1_cost
D
dangqingqing 已提交
505 506
    :noindex:

Z
zhangjinchao01 已提交
507 508 509 510 511 512 513 514
Check Layer 
============

eos_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: eos_layer
    :noindex: