aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/docs_src/api_guides/python/contrib.rnn.md
blob: d265ab6925ec880ed5c5b96b7684592f523402cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# RNN and Cells (contrib)
[TOC]

Module for constructing RNN Cells and additional RNN operations.

## Base interface for all RNN Cells

*   `tf.contrib.rnn.RNNCell`

## Core RNN Cells for use with TensorFlow's core RNN methods

*   `tf.contrib.rnn.BasicRNNCell`
*   `tf.contrib.rnn.BasicLSTMCell`
*   `tf.contrib.rnn.GRUCell`
*   `tf.contrib.rnn.LSTMCell`
*   `tf.contrib.rnn.LayerNormBasicLSTMCell`

## Classes storing split `RNNCell` state

*   `tf.contrib.rnn.LSTMStateTuple`

## Core RNN Cell wrappers (RNNCells that wrap other RNNCells)

*   `tf.contrib.rnn.MultiRNNCell`
*   `tf.contrib.rnn.LSTMBlockWrapper`
*   `tf.contrib.rnn.DropoutWrapper`
*   `tf.contrib.rnn.EmbeddingWrapper`
*   `tf.contrib.rnn.InputProjectionWrapper`
*   `tf.contrib.rnn.OutputProjectionWrapper`
*   `tf.contrib.rnn.DeviceWrapper`
*   `tf.contrib.rnn.ResidualWrapper`

### Block RNNCells
*   `tf.contrib.rnn.LSTMBlockCell`
*   `tf.contrib.rnn.GRUBlockCell`

### Fused RNNCells
*   `tf.contrib.rnn.FusedRNNCell`
*   `tf.contrib.rnn.FusedRNNCellAdaptor`
*   `tf.contrib.rnn.TimeReversedFusedRNN`
*   `tf.contrib.rnn.LSTMBlockFusedCell`

### LSTM-like cells
*   `tf.contrib.rnn.CoupledInputForgetGateLSTMCell`
*   `tf.contrib.rnn.TimeFreqLSTMCell`
*   `tf.contrib.rnn.GridLSTMCell`

### RNNCell wrappers
*   `tf.contrib.rnn.AttentionCellWrapper`
*   `tf.contrib.rnn.CompiledWrapper`


## Recurrent Neural Networks

TensorFlow provides a number of methods for constructing Recurrent Neural
Networks.

*   `tf.contrib.rnn.static_rnn`
*   `tf.contrib.rnn.static_state_saving_rnn`
*   `tf.contrib.rnn.static_bidirectional_rnn`
*   `tf.contrib.rnn.stack_bidirectional_dynamic_rnn`