layer.rst.txt 6.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 57 58
    :noindex:

..  _api_v2.layer_context_projection:

context_projection 
------------------
59
..  autoclass:: paddle.v2.layer.context_projection
60 61 62 63 64 65 66
    :noindex:

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

img_pool
--------
67
..  autoclass:: paddle.v2.layer.img_pool
68 69 70 71
    :noindex:   

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

maxout
------
77
..  autoclass:: paddle.v2.layer.maxout
78 79 80 81 82 83 84
    :noindex:

Norm Layer
==========

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

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

sum_to_one_norm
---------------
95
..  autoclass:: paddle.v2.layer.sum_to_one_norm
96 97
    :noindex:
    
98 99
cross_channel_norm
------------------
100
..  autoclass:: paddle.v2.layer.cross_channel_norm
101 102
    :noindex:
    
103 104 105 106 107
Recurrent Layers
================

recurrent
---------
108
..  autoclass:: paddle.v2.layer.recurrent
109 110 111 112
    :noindex:

lstmemory
---------
113
..  autoclass:: paddle.v2.layer.lstmemory
114 115 116 117
    :noindex:

grumemory
---------
118
..  autoclass:: paddle.v2.layer.grumemory
119 120 121 122 123 124 125
    :noindex:

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

memory
------
126
..  autoclass:: paddle.v2.layer.memory
127 128 129 130
    :noindex:

recurrent_group
---------------
131
..  autoclass:: paddle.v2.layer.recurrent_group
132 133 134 135
    :noindex:
    
lstm_step
---------
136
..  autoclass:: paddle.v2.layer.lstm_step
137 138 139 140
    :noindex:

gru_step
--------
141
..  autoclass:: paddle.v2.layer.gru_step
142 143 144 145
    :noindex:

beam_search
------------
146
..  autoclass:: paddle.v2.layer.beam_search
147 148 149 150
    :noindex:
    
get_output
----------
151
..  autoclass:: paddle.v2.layer.get_output
152 153 154 155 156 157 158 159 160
    :noindex:
    
Mixed Layer
===========

..  _api_v2.layer_mixed:

mixed
-----
161
..  autoclass:: paddle.v2.layer.mixed
162 163 164 165 166 167
    :noindex:

..  _api_v2.layer_embedding:

embedding
---------
168
..  autoclass:: paddle.v2.layer.embedding
169 170 171 172
    :noindex:

scaling_projection
------------------
173
..  autoclass:: paddle.v2.layer.scaling_projection
174 175 176 177
    :noindex:

dotmul_projection
-----------------
178
..  autoclass:: paddle.v2.layer.dotmul_projection
179 180 181 182
    :noindex:

dotmul_operator
---------------
183
..  autoclass:: paddle.v2.layer.dotmul_operator
184 185 186 187
    :noindex:

full_matrix_projection
----------------------
188
..  autoclass:: paddle.v2.layer.full_matrix_projection
189 190 191 192
    :noindex:

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


table_projection
----------------
199
..  autoclass:: paddle.v2.layer.table_projection
200 201 202 203
    :noindex:

trans_full_matrix_projection
----------------------------
204
..  autoclass:: paddle.v2.layer.trans_full_matrix_projection
205 206 207 208 209 210 211 212 213
    :noindex:
    
Aggregate Layers
================

..  _api_v2.layer_pooling:

pooling
-------
214
..  autoclass:: paddle.v2.layer.pooling
215 216 217 218 219 220
    :noindex:

..  _api_v2.layer_last_seq:

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

..  _api_v2.layer_first_seq:

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

concat
------
233
..  autoclass:: paddle.v2.layer.concat
234 235 236 237
    :noindex:

seq_concat
----------
238
..  autoclass:: paddle.v2.layer.seq_concat
239 240 241 242 243 244 245
    :noindex:

Reshaping Layers
================

block_expand
------------
246
..  autoclass:: paddle.v2.layer.block_expand
247 248 249 250 251 252
    :noindex:

..  _api_v2.layer_expand:

expand
------
253
..  autoclass:: paddle.v2.layer.expand
254 255 256 257
    :noindex:

repeat
------
258
..  autoclass:: paddle.v2.layer.repeat
259 260 261 262
    :noindex:

rotate
------
263
..  autoclass:: paddle.v2.layer.rotate
264 265 266 267
    :noindex:

seq_reshape
-----------
268
..  autoclass:: paddle.v2.layer.seq_reshape
269 270 271 272 273 274 275
    :noindex:

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

addto
-----
276
..  autoclass:: paddle.v2.layer.addto
277 278 279 280
    :noindex:

linear_comb
-----------
281
..  autoclass:: paddle.v2.layer.linear_comb
282 283 284 285
    :noindex:

interpolation
-------------
286
..  autoclass:: paddle.v2.layer.interpolation
287 288 289 290
    :noindex:

bilinear_interp
---------------
291
..  autoclass:: paddle.v2.layer.bilinear_interp
292 293 294 295
    :noindex:

power
-----
296
..  autoclass:: paddle.v2.layer.power
297 298 299 300
    :noindex:

scaling
-------
301
..  autoclass:: paddle.v2.layer.scaling
302 303 304 305
    :noindex:

slope_intercept
---------------
306
..  autoclass:: paddle.v2.layer.slope_intercept
307 308 309 310
    :noindex:

tensor
------
311
..  autoclass:: paddle.v2.layer.tensor
312 313 314 315 316 317
    :noindex:

..  _api_v2.layer_cos_sim:

cos_sim
-------
318
..  autoclass:: paddle.v2.layer.cos_sim
319 320 321 322
    :noindex:

trans
-----
323
..  autoclass:: paddle.v2.layer.trans
324 325 326 327 328 329 330
    :noindex:

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

maxid
-----
331
..  autoclass:: paddle.v2.layer.max_id
332 333 334 335
    :noindex:

sampling_id
-----------
336
..  autoclass:: paddle.v2.layer.sampling_id
337 338 339 340 341 342 343
    :noindex:

Slicing and Joining Layers
==========================

pad
----
344
..  autoclass:: paddle.v2.layer.pad
345 346 347 348 349 350 351 352 353
    :noindex:

..  _api_v2.layer_costs:

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

cross_entropy_cost
------------------
354
..  autoclass:: paddle.v2.layer.cross_entropy_cost
355 356 357 358
    :noindex:

cross_entropy_with_selfnorm_cost
--------------------------------
359
..  autoclass:: paddle.v2.layer.cross_entropy_with_selfnorm_cost
360 361 362 363
    :noindex:

multi_binary_label_cross_entropy_cost
-------------------------------------
364
..  autoclass:: paddle.v2.layer.multi_binary_label_cross_entropy_cost
365 366 367 368
    :noindex:

huber_cost
----------
369
..  autoclass:: paddle.v2.layer.huber_cost
370 371 372 373
    :noindex:

lambda_cost
-----------
374 375 376 377 378 379
..  autoclass:: paddle.v2.layer.lambda_cost
    :noindex:

mse_cost
--------
..  autoclass:: paddle.v2.layer.mse_cost
380 381 382 383
    :noindex:

rank_cost
---------
384
..  autoclass:: paddle.v2.layer.rank_cost
385 386 387 388
    :noindex:

sum_cost
---------
389
..  autoclass:: paddle.v2.layer.sum_cost
390 391 392 393
    :noindex:

crf
---
394
..  autoclass:: paddle.v2.layer.crf
395 396 397 398
    :noindex:

crf_decoding
------------
399
..  autoclass:: paddle.v2.layer.crf_decoding
400 401 402 403
    :noindex:

ctc
---
404
..  autoclass:: paddle.v2.layer.ctc
405 406 407 408
    :noindex:

warp_ctc
--------
409
..  autoclass:: paddle.v2.layer.warp_ctc
410 411 412 413
    :noindex:

nce
---
414
..  autoclass:: paddle.v2.layer.nce
415 416 417 418
    :noindex:

hsigmoid
---------
419
..  autoclass:: paddle.v2.layer.hsigmoid
420 421
    :noindex:

422 423 424 425 426
smooth_l1_cost
--------------
..  autoclass:: paddle.v2.layer.smooth_l1_cost
    :noindex:

427 428 429 430 431
Check Layer 
============

eos
---
432
..  autoclass:: paddle.v2.layer.eos
433
    :noindex: