Custom Torch Op to Custom QONNX op export #1024
-
Hello,
The custom op I defined as such (template):
I feel like I am pretty close to success, I just need to "tie" these things together. I am searching through the code and I see that ONNXBaseManager class has a register_custom_fns class, however the "Quant" ops seem to use a class based on torch.autograf.Function (brevitas/src/brevitas/export/onnx/qonnx/function.py). Does anyone have experience with this? What do I need to do here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I managed to make it work. See QONNX PR: fastmachinelearning/qonnx#144 |
Beta Was this translation helpful? Give feedback.
I managed to make it work. See QONNX PR: fastmachinelearning/qonnx#144