What is num_units in tensorflow BasicLSTMCell?

后端 未结 11 1628
北恋
北恋 2020-12-12 10:13

In MNIST LSTM examples, I don\'t understand what \"hidden layer\" means. Is it the imaginary-layer formed when you represent an unrolled RNN over time?

Why is the <

11条回答
  •  北海茫月
    2020-12-12 10:46

    Most LSTM/RNN diagrams just show the hidden cells but never the units of those cells. Hence, the confusion. Each hidden layer has hidden cells, as many as the number of time steps. And further, each hidden cell is made up of multiple hidden units, like in the diagram below. Therefore, the dimensionality of a hidden layer matrix in RNN is (number of time steps, number of hidden units).

提交回复
热议问题