Implement an operator in c++ in mxnet framework

Any advice on how to implement an operator in c++ in Mxnet framework is appreciated. Thanks
I have implemented a python version, but it is slow.

There is a guide here that could be useful for you: https://mxnet.incubator.apache.org/faq/add_op_in_backend.html