-
Notifications
You must be signed in to change notification settings - Fork 70
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
Julia-based definition of new layer #39
Comments
@nowozin Unfortunately it is currently not possible yet. Because Julia GC is not thread safe currently, so that makes things a lot complicated than in the Python case. We are still working on trying to come up with a solution yet. |
Thank you for the quick reply and clarification. A related question regarding the (This would be useful for variational Bayes neural network training objectives, e.g. (Blundell et al., 2015) and also described here.) |
There is currently no rand number generator symbolic node. But a workaround is to treat those random numbers as input data and generate from a data provider. For example, the lstm chat-rnn example uses a customized data provider to generate all-zero matrices. |
Thank you so much for the quick and informative replies, much appreciated. |
@pluskid I would like to implement a custom layer; MDN loss layer |
Yes with NDArray it should be possible, I just have been quite busy the last two weeks and haven't gotten any coding done. Getting this to work is on the top of my priority list for the weekend. |
Any progress on using NDArray + Julia to define layers? |
I made progress today, but it still has some way to go, but help is always welcome. |
@vchuravy 3 questions
|
I will see if I can devote some more time to this, but work gets in the way right now. |
I hope that I can make another push for this during the coming week. There Keep in mind that this only gets us a CPU implementation and I haven't On Mon, 15 Feb 2016, 00:01 Andre Pemmelaar [email protected] wrote:
|
+1 for this, I'm really looking forward for it |
Hi,
I would like to define a new layer similar to dropout, using random number generation.
According to https://mxnet.readthedocs.org/en/latest/tutorial/new_op_howto.html it is currently possible to define layers using Python.
Is it possible to define new layers using Julia, and if so, could you provide a minimal example of a Julia-defined layer? (For example, something as simple as scaling the input.)
Thanks,
Sebastian
The text was updated successfully, but these errors were encountered: