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

access sublayers of CustomRecurrentLayer with get_all_layers() ?? #848

Open
jc-Rosichini opened this issue Jun 17, 2017 · 1 comment
Open

Comments

@jc-Rosichini
Copy link

How to access sublayers of CustomRecurrentLayer, especially the chain of layers defined
in input_to_hidden and hidden_to_hidden.
Is there any parameters needed by get_all_layers()
Thanks

@f0k
Copy link
Member

f0k commented Jun 21, 2017

There's currently no way other than querying the input_to_hidden and hidden_to_hidden properties. The idea is that the CustomRecurrentLayer encapsulates the recurrent computation so Lasagne can treat it like a feed-forward layer with a lot of parameters (that are used by the encapsulated layers).

We can think about changing this, though, also in light of #425. What is your use case?

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