microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
352b2003bc6c4604f4285d64133d8bdf11549253

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

tutorials/cpp_custom_ops_tutorial.md

9lines · modecode

1# Making Custom Ops with C++
2
3This is just an outline. Full instructions will be added later.
4
51. Clone and build the repo by following the Getting Stated instructions [here](https://github.com/microsoft/ort-customops#getting-started).
62. Create a kernel for your custom op in the /ocos/kernels directory. Create a .cc and .hpp file.
73. Write tests in the /test directory.
8
9To use the op in a tensorflow model, follow the [TF2ONNX Custom Ops Tutorial](https://github.com/microsoft/ort-customops/blob/main/tutorials/tf2onnx_custom_ops_tutorial.ipynb)