ReverseDiff.jl icon indicating copy to clipboard operation
ReverseDiff.jl copied to clipboard

Programmatically defining the model

Open rcnlee opened this issue 8 years ago • 0 comments

I'm finding the MNIST example on the MNIST branch very insightful.

In the example, the structure of model is hardcoded. What is the best way, in the ReverseDiff framework, to programmatically define the structure? For example, if I wanted the user to be able to specify at runtime the number of hidden layers and the size and activation functions of each.

Thanks!

rcnlee avatar Sep 15 '17 17:09 rcnlee