Uh oh!
There was an error while loading. Please reload this page.
[TFLite] Using real image for QNN testing. - #4816
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
c054e3e to
aafb334Compare@inadob Can you please review the TFLite pad test portion? I am not very familiar with using fake quant, and I just replicated your code for Pad. So, closer scrutiny would be good. |
anijain2305
commented
Feb 6, 2020
Ping @FrozenGene |
FrozenGene
commented
Feb 7, 2020
ping @inadob , would you review it again? If you have no other comments, would you set explicit approve? Thanks? |
inadob
left a comment
There was a problem hiding this comment.
Almost ready, have a couple of small changes below
Uh oh!
There was an error while loading. Please reload this page.
f6ada9e to
799dfafCompareanijain2305
commented
Feb 9, 2020
@inadob Done |
799dfaf to
6529512Compareanijain2305
commented
Feb 10, 2020
@FrozenGene Good to merge? |
FrozenGene
commented
Feb 11, 2020
Thanks @anijain2305@inadob It is merged now. |
What happen if the zero point is a vector, as in per channel quantization? What should the pad value be? |
u99127
commented
Feb 20, 2020
@masahi good question but please file a separate issue only affecting master since per channel quantization came in after this. Otherwise I fear this will be missed. Ramana |
u99127
commented
Feb 20, 2020
@anijain2305 - this needs a backport to 0.6 tag ? |
masahi
commented
Feb 20, 2020
@u99127 I figured the answer myself. QNN support for per channel quantization applies to only weight quantization (which is supposed to be a common restriction in other frameworks as well). For pad value we can use a scalar zero point associated with activations. |
anijain2305
commented
Feb 20, 2020
* [TFLite] Using real image for QNN testing. * Setting seed for SSD mobilenet for fixed input. * Support quantized Pad op. * Remove unnnecessary line. * Ina comments.
* [TFLite] Using real image for QNN testing. * Setting seed for SSD mobilenet for fixed input. * Support quantized Pad op. * Remove unnnecessary line. * Ina comments.
* [TFLite] Using real image for QNN testing. * Setting seed for SSD mobilenet for fixed input. * Support quantized Pad op. * Remove unnnecessary line. * Ina comments.
This PR does 2 things
Thanks to @inadob for finding the bug
@FrozenGene@kevinthesun@inadob Can you please review?