I want to try out some new activation functions and I have successfully created custom operators in C++ on top of the latest mxnet source code. But what I really like to have is to build a separate library (.so file in ubuntu) just for my custom operators so I can leave mxnet source code and its library as it is and I do not have to worry about merging my code to mxnet source code every time I need to use newer mxnet releases. I understand that if this is working, I need both libmxnet.so and mycustom.so in order to use my new activation functions. Any help is appreciated. Thanks in advance.
Asked
Active
Viewed 288 times
2
-
An activation function that is useful for your neural net is probably going to be useful for others. Why not submit a pull request, and have it merged into the repo? – Hagay Lupesko Aug 28 '17 at 06:37
-
I can think of many reasons why it would be impractical to deploy custom operators in the official library: the code may not be production ready, it might not be generally useful enough to justify bloating the main distribution, it might contain proprietary code or code issued under a conflicting license (e.g. GPL), etc. – Christopher Barber Nov 13 '17 at 20:48
-
There exists an issue: https://github.com/apache/incubator-mxnet/issues/9547 – tauran Jan 26 '18 at 11:19
1 Answers
1
As Tauran pointed out, this is currently not possible. An feature request has been created: https://github.com/apache/incubator-mxnet/issues/9547 and it would be a good idea to subscribe to that and upvote it if you haven't done so already. :)

Vishaal
- 735
- 3
- 13