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

LSTM supports fromJSON #34

Closed
indiejoseph opened this issue May 4, 2015 · 2 comments
Closed

LSTM supports fromJSON #34

indiejoseph opened this issue May 4, 2015 · 2 comments

Comments

@indiejoseph
Copy link

LSTM supports toJSON, but haven't implement fromJSON method,
Is it possible to implement fromJSON method to LSTM?

@cazala
Copy link
Owner

cazala commented May 4, 2015

fromJSON is an static method of Network.

var MyLSTM = new LSTM( ... );
var json = MyLSTM.toJSON();
var clone = Network.fromJSON(json); // <--- new instance of Network, that is exactly the same as MyLSTM

@indiejoseph
Copy link
Author

Thanks @cazala

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

No branches or pull requests

2 participants