onnx / tutorials

Tutorials for creating and using ONNX models
Apache License 2.0
3.37k stars 629 forks source link

Implementing custom operators in python #190

Open reuvenperetz opened 4 years ago

reuvenperetz commented 4 years ago

Hi, I was wondering if it's somehow possible to implement new custom operators in python (instead of C++)... All tutorials I read explain how it can be done in C++, but I just wanted to make sure it's indeed impossible to write it in any other language (preferably in python)

Thanks!

RandySheriffH commented 4 years ago

https://github.com/microsoft/onnxruntime/blob/master/docs/PyOp.md Some fix along with refactoring is underway, ETA early July, docs will be updated as well with simplified steps.

RandySheriffH commented 4 years ago

Done - please see if this address your case. https://github.com/microsoft/onnxruntime/blob/master/docs/PyOp.md