You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "MPolaris (via GitHub)" <gi...@apache.org> on 2024/01/26 13:40:18 UTC

[PR] [QNN] Fix error of reading zero_point during per-channel quantization [tvm]

MPolaris opened a new pull request, #16479:
URL: https://github.com/apache/tvm/pull/16479

   Quantification is usually divided into two modes: per-channel or per-tensor.
   For per-channel zero_point and scale are 1d array and it's length same as tensor channel.
   For per-tensor zero_point and scale are scalar.
   At present, when using onnx-qnn in the frontend, tvm seems to only consider per-sensor quantization.
   Additionally, for both quantization modes, read zero_point can be used in this way without causing errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [QNN][ONNX-Frontent] Fix error of reading zero_point during per-channel quantization [tvm]

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen closed pull request #16479: [QNN][ONNX-Frontent] Fix error of reading zero_point during per-channel quantization
URL: https://github.com/apache/tvm/pull/16479


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org