Gated Recurrent Unit (GRU)公式简介

时间:2016-04-14 22:23:43   收藏:0   阅读:218

技术分享

update gate $z$: defines how much of the previous memory to keep around.  

\[z = \sigma (x_t U^z + s_{t-1} W^z )\]

reset gate $r$:determines how to combine the new input with the previous memory.

\[r = \sigma(x_t U^r + s_{t-1} W^r )\]

Cell value $h$: \[h = \tanh (x_t U^h + (s_{t-1} \odot r) W^h)\]

hidden value $s_t$: \[s_t = (1-z)\odot h + z \odot s_{t-1}\]

 

原文:http://www.cnblogs.com/ZJUT-jiangnan/p/5392923.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!