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

Encapsulate the state of stateful networks #7

Open
mvrahden opened this issue Jun 28, 2018 · 0 comments
Open

Encapsulate the state of stateful networks #7

mvrahden opened this issue Jun 28, 2018 · 0 comments

Comments

@mvrahden
Copy link
Owner

Is your feature request related to a problem? Please describe.
The current implementation of stateful networks exposes implementation details to the user of those architectures, such as the previous state and the graph.

Describe the solution you'd like
To resolve this, encapsulate the graph and the state of the network during forward pass, e.g.:

net.forward([0, 1]); /* or with custom learning rate: net.forward([0, 1], 0.3) */

The encapsulation of the graph and the state will bring the API more close to what we see from the stateless architectures.

Describe alternatives you've considered
none

Additional context
none

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