http://latex.codecogs.com/gif.latex?{{e}_{ij}}={{v}_{a}}^{T}\tanh%20({{W}_{a}}{{s}_{i-1}}+{{U}_{a}}{{h}_{j}})
http://latex.codecogs.com/gif.latex?{{a}_{ij}}=\frac{\exp%20({{e}_{ij}})}{\sum\limits_{k=1}^{{{T}_{x}}}{\exp%20({{e}_{ik}})}}
http://latex.codecogs.com/gif.latex?{{c}_{i}}=\sum\limits_{j=1}^{{{T}_{x}}}{{{a}_{ij}}{{h}_{j}}}
http://latex.codecogs.com/gif.latex?{{s}_{i}}=f({{s}_{i-1}},{{y}_{i}},{{c}_{i}})
http://latex.codecogs.com/gif.latex?y=[{{y}_{1}},{{y}_{2}},...,{{y}_{{{T}_{y}}}}]
http://latex.codecogs.com/gif.latex?x=[{{x}_{1}},{{x}_{2}},...,{{x}_{{{T}_{x}}}}]