layers.rst.txt 10.2 KB
Newer Older
1 2
..  _api_trainer_config_helpers_layers:

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

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

59 60 61 62 63 64
conv_projection
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: conv_projection
    :noindex:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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
92 93 94 95 96 97 98 99 100 101 102 103
    :noindex:   

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

maxout_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: maxout_layer
Y
Yu Yang 已提交
104 105 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
    :noindex:

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:

Y
Yu Yang 已提交
157 158 159 160 161 162
recurrent_group
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: recurrent_group
    :noindex:
    
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:

Y
Yu Yang 已提交
175 176 177 178 179 180
beam_search
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: beam_search
    :noindex:
    
Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
200 201 202 203 204 205
embedding_layer
---------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: embedding_layer
    :noindex:

206
scaling_projection
207
------------------
208 209 210 211
..  automodule:: paddle.trainer_config_helpers.layers
    :members: scaling_projection
    :noindex:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
299 300 301 302 303 304
expand_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: expand_layer
    :noindex:

305 306 307 308 309 310
repeat_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: repeat_layer
    :noindex:

311 312 313 314 315 316 317 318 319 320 321 322
rotate_layer
------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: rotate_layer
    :noindex:

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

Y
Yu Yang 已提交
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
Y
Yu Yang 已提交
333 334
-----------------
..  automodule:: paddle.trainer_config_helpers.layers
335
    :members: linear_comb_layer
Y
Yu Yang 已提交
336 337 338 339 340 341 342 343
    :noindex:

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

344 345 346 347 348 349
bilinear_interp_layer
----------------------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: bilinear_interp_layer
    :noindex:

Y
Yu Yang 已提交
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:

Y
Yu Yang 已提交
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:

403 404 405 406 407 408 409 410 411 412 413
Slicing and Joining Layers
==========================

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

..  _api_trainer_config_helpers_layers_cost_layers:

Y
Yu Yang 已提交
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:

435 436 437 438 439 440
mse_cost
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: mse_cost
    :noindex:

Y
Yu Yang 已提交
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:

459 460 461 462 463 464
sum_cost
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: sum_cost
    :noindex:

Y
Yu Yang 已提交
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:

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:

Y
Yu Yang 已提交
495 496 497 498 499 500 501 502 503 504 505 506 507 508
hsigmoid
---------
..  automodule:: paddle.trainer_config_helpers.layers
    :members: hsigmoid
    :noindex:

Check Layer 
============

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