Skip to content
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

[Realy][Frontend][TLite] Issue in Quantized PadV2 support with constant input. #6791

Closed
ANSHUMAN87 opened this issue Oct 29, 2020 · 0 comments

Comments

@ANSHUMAN87
Copy link
Contributor

In Tensorflow version > 2.1.0, there is a bug induced in Tensorflow, where if we try to use Quantized PadV2 with constant value input, it fails to covert to TFLite because of mismatch in output quant params & the constant value quant params.

Pseudo code:
quant_output = pad_v2(quant_data, padding, mode="CONSTANT", quant_constant_values)

Error:
RuntimeError: tensorflow/lite/kernels/pad.cc:205 op_context.output->params.zero_point != op_context.constant_values->params.zero_point (128 != 0)

For test case, please refer

This is a tracker until bug is fixed in Tensorflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants