Replies: 6 comments
-
@ArtyZe Can you tell me how you succeeded? I'm curious, I tried before but failed. Add a new node on onnx |
Beta Was this translation helpful? Give feedback.
-
Not success add op to onnx and onnxruntime, but success add op to torch/onnx, so I can convert my torch model with new op to onnx successfully, and failed optimize onnx model by onnx and test by onnxruntime |
Beta Was this translation helpful? Give feedback.
-
It may indicate that your node has not been added successfully, or that your operation of the node is wrong. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @ArtyZe, |
Beta Was this translation helpful? Give feedback.
-
@ArtyZe if you are using ONNX Runtime to run the model, this can be supported via custom ops. See https://github.com/microsoft/onnxruntime/blob/master/docs/AddingCustomOp.md If you have questions on that, you can post in the ONNX Runtime github discussions page This will be much easier/quicker than proposing the op to be added to the official ONNX standard. |
Beta Was this translation helpful? Give feedback.
-
I have successfully add new operator to torch/onnx, and then I need to do some optimizer for my onnx model. But onnx lib which installed through pip don't recognize my new op, so check failed.
Could you give me some doc about how to add new op to onnx lib? :(
Thanks
Beta Was this translation helpful? Give feedback.
All reactions