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

[CherryPick2.6]Fix a null pointer exception caused by branching on uninitialized data. #50864

Merged
merged 1 commit into from Jul 27, 2021

Conversation

geetachavan1
Copy link
Contributor

This is due to not checking that the params for the quantization exists. If there is no quantization, we should not access the .params field.

PiperOrigin-RevId: 385168337
Change-Id: I28661e4f12ba1c92cfeae23d22a3fb2df2a2c6a4

This is due to not checking that the params for the quantization exists. If there is no quantization, we should not access the `.params` field.

PiperOrigin-RevId: 385168337
Change-Id: I28661e4f12ba1c92cfeae23d22a3fb2df2a2c6a4
@google-cla google-cla bot added the cla: yes label Jul 20, 2021
@gbaned gbaned self-assigned this Jul 21, 2021
@gbaned gbaned added comp:lite TF Lite related issues size:XS CL Change Size: Extra Small labels Jul 21, 2021
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Jul 21, 2021
@gbaned gbaned assigned mihaimaruseac and unassigned gbaned Jul 21, 2021
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Jul 27, 2021
@mihaimaruseac mihaimaruseac merged commit 5b8be38 into tensorflow:r2.6 Jul 27, 2021
PR Queue automation moved this from Approved by Reviewer to Merged Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:lite TF Lite related issues size:XS CL Change Size: Extra Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

3 participants