-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[TOPI][Hexagon] Implement quantized depthwise conv2d #12499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0b88533 to
024d856
Compare
225c601 to
2af97a3
Compare
c872acf to
55c7822
Compare
|
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment. Generated by tvm-bot |
e68d590 to
6690e8a
Compare
|
@gayatripk1 please update the PR description |
Done. |
| E-Bias+x+1 < 15 | ||
| E-Bias+x+1 <= 14 | ||
| Max x will make E-Bias+x+1 = 14 | ||
| x = 13 - E + Bias |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @ibsidorenko - I'm curious how the requantize operation done in QC "slice ops" (such as this PR) compares to the one done by QNN canonicalization.
* [TOPI][Hexagon] Implement quantized depthwise conv2d * Fix lint errors * Fix lint error * Fix lint errors
* [TOPI][Hexagon] Implement quantized depthwise conv2d * Fix lint errors * Fix lint error * Fix lint errors
This PR adds implementation for quantized depthwise convolution op for hexagon. The quantization method uses fixed-point number to replace floating point instructions.
Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.
cc @mehrdadh