microsoft / microsoft/onnxruntime-extensions
Reference for adding two custom kernels to onnxruntime
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 479
- Forks
- 144
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 11
Description
Hi Onnxrt team,
I had a requirement of adding two custom ops, exporting to onnx, and executing it. As the first step: I had registered the custom ops and exported to onxx model. But I am not sure how to add the two kernels in onnxruntime. I got the reference for one custom kernel(https://github.com/neginraoof/CustomOperators/tree/master/CustomOperator/ort_custom_op), but I need a reference for adding two custom kernels. Kindly assist me in finding the reference for the same.
Thanks,
Darshan
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked one-kernel reference at CustomOperator/ort_custom_op and compare it with the issue's two-custom-op registration and ONNX export context. Done means providing a documented reference or example showing how two custom kernels are added and executed in ONNX Runtime.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100