-
Notifications
You must be signed in to change notification settings - Fork 810
Missing some layers #381
Comments
I just make my project public: deepstacks deepstacks is: A build_network() for Lasagne and noen. Define your network model in a datacheet with stack machine mechanisms. Support reuse part of model as function, and share parameters. Please have a look at deepstacks/deepstacks/neon/implement.py To complete the implement for neon, I need ( in the words of Lasagne): ElemwiseMergeLayer,SliceLayer,Upscale[123]DLayer,LocallyConnected[123]DLayer,DimshuffleLayer,GaussianNoiseLayer,ExpressionLayer. Leave them not implemented is ok, but I want to complete it if posible. I wish my project can help more peaple to take advantage of neon. Though, myself is new to neon, so if any part of may code is wrong, just let me known. |
there is a neon tutorial |
@chengchingwen would you please explain these lines for me ? in bprop:
|
I tried to implement a GaussianNoiseLayer, following is my code. I'm not sure whether this is correctly, I does not really understand the alpha, beta things, just copied them from SkipNode:
|
@guoxuesong |
I'm porting my model from lasagne/theano .
I found there are some layers I need not exist in neon.
The first question I want to ask is " Is there any tutorials about creating custom layers ?"
I looked into the history issues, Create custom layer #100
was closed, but I think there still should be some kind of tutorials, at least to tell what kind of requests is doable and what not.
Some layers looks simple but missed, for example something like SliceLayer to slice the input at a special axis, something was said simple in history issues like DimshuffleLayer to transpose input.
I think if these are really simple and NervanaSystems do not want to support them officially, maybe you can teach us howto do it by ourselves.
But, the real challenge for me is to implement Goroshin's argmax, as referenced in STACKED WHAT-WHERE AUTO-ENCODERS, I implemented it using Theano just like this:
It seems that neon has something named Autodiff, can I use it to calculate the gradient or should I do some math work ?
I know you have another thing named ngraph , can I use ngraph to write custom layers for neon ? I don't want use ngraph to do the whole job.
The text was updated successfully, but these errors were encountered: