dagstudio
dagstudio copied to clipboard
(Dynamically) Retrieve Torch Layers and their arguments
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?
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.
I could just regex each <layername>.lua for contents <layername>: __init(<args>). Probably the only way.