1.Forward propagation for the basic Recurrent Neural Network
1.1 - RNN cell
1. 计算隐藏状态 : a⟨t⟩=tanh(Waaa⟨t−1⟩+Waxx⟨t⟩+ba) a ⟨ t ⟩ = tanh ( W a a a ⟨ t − 1 ⟩ + W a x x ⟨ t ⟩ + b a ) .
2. 使用新的隐藏状态 a⟨t⟩ a ⟨ t ⟩ , 计算预测值 ŷ ⟨t⟩=softmax(Wyaa⟨t⟩+by) y ^ ⟨ t ⟩ = s o f t m a x ( W y a a ⟨ t ⟩ + b y ) .
3. 在缓存中保存 (a⟨t⟩,a⟨t−1⟩,x⟨t⟩,parameters) ( a ⟨ t ⟩ , a ⟨ t − 1 ⟩