TensorFlow RNN和单元(contrib)
2019-01-31 18:12 更新
用于构造 RNN 单元和附加 RNN 操作的模块
所有 RNN 单元的基本界面
- tf.contrib.rnn.RNNCell
用于 TensorFlow 核心 RNN 方法的核心 RNN 单元
- tf.contrib.rnn.BasicRNNCell
- tf.contrib.rnn.BasicLSTMCell
- tf.contrib.rnn.GRUCell
- tf.contrib.rnn.LSTMCell
- tf.contrib.rnn.LayerNormBasicLSTMCell
存储分离“RNNCell”状态的类
- tf.contrib.rnn.LSTMStateTuple
核心 RNN 单元包装器(RNNCells 包装其他 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
阻止RNNCells
- tf.contrib.rnn.LSTMBlockCell
- tf.contrib.rnn.GRUBlockCell
熔融RNNCells
- tf.contrib.rnn.FusedRNNCell
- tf.contrib.rnn.FusedRNNCellAdaptor
- tf.contrib.rnn.TimeReversedFusedRNN
- tf.contrib.rnn.LSTMBlockFusedCell
LSTM样细胞
- tf.contrib.rnn.CoupledInputForgetGateLSTMCell
- tf.contrib.rnn.TimeFreqLSTMCell
- tf.contrib.rnn.GridLSTMCell
RNNCell包装
- tf.contrib.rnn.AttentionCellWrapper
- tf.contrib.rnn.CompiledWrapper
TensorFlow 构造循环神经网络
TensorFlow 提供了一些构建循环神经网络的方法。
- 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