Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurrent weighted average #69

Open
MartinuzziFrancesco opened this issue Feb 12, 2025 · 1 comment
Open

Recurrent weighted average #69

MartinuzziFrancesco opened this issue Feb 12, 2025 · 1 comment
Labels
cell A new recurrent cell found in the literature

Comments

@MartinuzziFrancesco
Copy link
Owner

https://arxiv.org/abs/1703.01253

@MartinuzziFrancesco MartinuzziFrancesco added the cell A new recurrent cell found in the literature label Feb 12, 2025
@MartinuzziFrancesco
Copy link
Owner Author

$$\begin{align} h_0 &= f(s_0), \quad n_0 = 0, \quad d_0 = 0 \\\ u(x_t) &= W_u \cdot x_t + b_u \\\ g(x_t, h_{t-1}) &= W_g \cdot [x_t, h_{t-1}] + b_g \\\ a(x_t, h_{t-1}) &= W_a \cdot [x_t, h_{t-1}] \\\ z(x_t, h_{t-1}) &= u(x_t) \circ \tanh g(x_t, h_{t-1}) \\\ n_t &= n_{t-1} + z(x_t, h_{t-1}) \circ e^{a(x_t, h_{t-1})} \\\ d_t &= d_{t-1} + e^{a(x_t, h_{t-1})} \\\ h_t &= f \left( \frac{n_t}{d_t} \right) \end{align}$$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cell A new recurrent cell found in the literature
Projects
None yet
Development

No branches or pull requests

1 participant