reminisce commented on issue #9012: Implementing New Operators
URL: 
https://github.com/apache/incubator-mxnet/issues/9012#issuecomment-350882048
 
 
   1. You can take a look at this. That PR refactored most of nn operators into 
using nnvm interfaces. You can register that attribute for an operator to share 
states. 
https://github.com/apache/incubator-mxnet/pull/8302/files#diff-c7e5df696274a535051595cc84f35353R444
   2. You can take a look at the convolution refactored code which shows how to 
define learnable parameters. 
https://github.com/apache/incubator-mxnet/pull/8302/files#diff-be97f478f0c55a9c72e3bcb2119bf006R413
   3. What macros are you referring to? I don't what IDE or editor you are 
using for writing C++ code, but I think most of the main stream ones should 
support macro definition navigation. Let me know the specific macros you could 
not find the definitions for.
   4. If you want to keep your operator implementation separated from the 
existing MXNet code base, you can create a folder for you only under the 
`src/operator`.
   5. @cjolivier01 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to