Implementing a new operation in TensorFlow does require a fair amount of overhead, and you&#x27;ll need to know CUDA if you want to create something that works on (NVIDIA) GPUs.<p>The &quot;Creating an Op&quot; how-to[1] goes over the basic steps necessary to implement an operation, but there are a couple of things missing. Notably, proper documentation for the various functions and classes used when writing operations, as well as information on writing (and registering) a Python wrapper for additional functionality.<p>All this said, if you want to commit your work to the GitHub master, the Google team working on the repository does an excellent job of walking contributors through the steps necessary to get their work over the hump.<p>[1]: <a href="https:&#x2F;&#x2F;www.tensorflow.org&#x2F;versions&#x2F;master&#x2F;how_tos&#x2F;adding_an_op&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.tensorflow.org&#x2F;versions&#x2F;master&#x2F;how_tos&#x2F;adding_an...</a>