参考:https://towardsdatascience.com/lstm-by-example-using-tensorflow-feb0c1968537
是一个单层的LSTM网络,且该层里面有n_hidden=512单元:

多层LSTM网络:

tf.nn.rnn_cell.RNNCell
tf.nn.rnn_cell.LSTMCell
tf.nn.rnn_cell.BasicRNNCell // 为上面的子类
tf.nn.rnn_cell.BasicLSTMCell //为上面的子类
https://zhuanlan.zhihu.com/p/28196873
同时具有多层,多步的概念
网友评论