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

[parser] Allow multiline equation parsing #3

Open
owulveryck opened this issue Apr 5, 2018 · 0 comments
Open

[parser] Allow multiline equation parsing #3

owulveryck opened this issue Apr 5, 2018 · 0 comments

Comments

@owulveryck
Copy link
Owner

The parser should be able to parse multi-line equations such as:

 iₜ=(Wᵢ·xₜ+Uᵢ·hₜ₋₁+Bᵢ)
 fₜ=σ(Wf·xₜ+Uf·hₜ₋₁+Bf)
 oₜ=σ(Wₒ·xₜ+Uₒ·hₜ₋₁+Bₒ)
 ĉₜ=tanh(Wc·xₜ+Uc·hₜ₋₁+Bc)
 cₜ=fₜ*cₜ₋₁+iₜ*ĉₜ
 hₜ=oₜ*tanh(cₜ)
 y=Wy·hₜ+By

And use a "Getter" to access the nodes; eg: parser.Get("y")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant