您的位置:首页 > 其它

Gated Recurrent Unit (GRU)公式简介

2016-04-14 21:46 363 查看


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}\]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: