2019-02-27 Lstm函数

2019-02-27  本文已影响0人  七月那个阿瓜呀
  1. tf.contrib.rnn.BasicLSTMCell
__init__(
    num_units,
    forget_bias=1.0,
    state_is_tuple=True,
    activation=None,
    reuse=None
)
Initialize the basic LSTM cell.
Args:
* num_units *:int,LSTM单元格中的单位数。
* forget_bias *:float,忘记门的偏置。 从 CudnnLSTM-trained checkpoints恢复时,必须手动设置为0.0。
* state_is_tuple *:如果为True,则接受和返回的状态是包括c_state和m_state的2元组。 如果为False,则它们沿列轴连接。 后一种行为很快就会被弃用。
*activation*:内部状态的激活功能。 默认值:tanh。
  1. 深度学习(07)_RNN-循环神经网络-02-Tensorflow中的实现
  2. Truncated Backpropagation
上一篇 下一篇

猜你喜欢

热点阅读