mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skalicky, Sam" <>
Subject Re: Custom C++ Operators
Date Sun, 08 Dec 2019 20:54:51 GMT
Thanks Ciyong,

Absolutely! Heres how a backward function is registered [1] and here’s an example backward
function for GEMM [2]. We’ll be working on documentation and a blog post/tutorial soon,
hopefully that will  help clarify things as well.

Keep the questions coming!



On Dec 8, 2019, at 6:48 AM, Chen, Ciyong <<>>

Really great features, it will provide a more convenient way for deployment.
BTW, does it support backward ops too?


-----Original Message-----
From: Marco de Abreu <<>>
Sent: Sunday, December 8, 2019 2:56 AM
Subject: Re: Custom C++ Operators

Awesome project, love it! It really seems easy to use, great job!


Skalicky, Sam <<>>
schrieb am Sa., 7. Dez. 2019,

Hi MXNet Community,

We have been working on adding support for custom C++ operators for a
while and are happy to announce that the initial functionality is now
available for you to try out in the master branch!

CustomOp support in MXNet began with allowing users to write custom
operators in Python and has been available for years. If you wanted to
write a high-performance C++ operator you had to do it by adding it to
the MXNet source code, recompiling a custom version of MXNet, and
distributing that custom build. The Custom C++ operator support
enhances this by enabling users to write high-performance C++
operators and compile them separately from MXNet. This frees up users
from having to recompile MXNet from source and makes it easier to add custom operators to
suit their needs.

Heres a few pointers to get started:
1. Check out the overview in the cwiki [1] 2. Check out the PR [2] 3.
You can try this out using the new nightly builds that are available
S3 [3]
4. Leave feedback on features to add or things to fix in a followup PR
here [4]

Credit goes to everyone involved (in no particular order) Manu Seth
Sheng Zha Jackie Wu Junru Shao Ziyi Mu

Special thanks to all the PR reviewers!


port [2]

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message