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

(Dynamically) Retrieve Torch Layers and their arguments #2

Open
TimZaman opened this issue Sep 8, 2016 · 2 comments
Open

(Dynamically) Retrieve Torch Layers and their arguments #2

TimZaman opened this issue Sep 8, 2016 · 2 comments
Assignees

Comments

@TimZaman
Copy link
Owner

TimZaman commented Sep 8, 2016

Listing torch layers is pretty easy by listing the contents of nn for example.
Any recommendations on getting the arguments of the constructor of the layers?

@TimZaman TimZaman self-assigned this Sep 8, 2016
@Kaixhin
Copy link

Kaixhin commented Sep 8, 2016

As far as I know there's no easy way beyond checking the docs, but if you have quick questions about Torch it's worth asking on Gitter.

@TimZaman
Copy link
Owner Author

TimZaman commented Sep 8, 2016

I could just regex each <layername>.lua for contents <layername>: __init(<args>). Probably the only way.

@TimZaman TimZaman changed the title List torch layers: and their arguments. (Dynamically) Retrieve Torch Layers and their arguments Sep 8, 2016
@TimZaman TimZaman added the Torch label Sep 8, 2016
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

2 participants