Making an onnx model with custom/contrib OP (like QAttention) using onnx python hooks? #4356
Unanswered
sunnyshu-intel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, am new to onnx, I want to generate a model/graph which has only one QAttention node/layer, to test QAttention with different outputs and inputs. I have a script which helps me to generate models/graphs which consist of only node/layer which I want to test, for example, MatMul + Add as a node, coded as follows.
I want to do same with the QAttention (or similar ops). Below is the code I trying to generate a model consist of only QAttention node, but it always gives me error. I am not sure what am doing wrong or what I should be doing extra to do the same, Please help.
generate_qattention.py
Terminal Output
Beta Was this translation helpful? Give feedback.
All reactions