-
Notifications
You must be signed in to change notification settings - Fork 74.2k
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
Make a TFLite test case run on big-endian machines #34590
Merged
tensorflow-copybara
merged 4 commits into
tensorflow:master
from
frreiss:issue-s390-lite-2
Apr 29, 2020
Merged
Make a TFLite test case run on big-endian machines #34590
tensorflow-copybara
merged 4 commits into
tensorflow:master
from
frreiss:issue-s390-lite-2
Apr 29, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found a second test case in |
@frreiss Can you please resolve conflicts? Thanks! |
gbaned
added
stat:awaiting response
Status - Awaiting response from author
and removed
awaiting review
Pull request awaiting review
labels
Jan 8, 2020
…o issue-s390-lite-2
…o issue-s390-lite-2
Conflicts resolved. |
tensorflowbutler
removed
the
stat:awaiting response
Status - Awaiting response from author
label
Jan 16, 2020
@nutsiepully Can you please take a look on this PR? Thanks! |
jdduke
approved these changes
Apr 27, 2020
google-ml-butler
bot
added
kokoro:force-run
Tests on submitted change
ready to pull
PR ready for merge process
labels
Apr 27, 2020
gbaned
added
ready to pull
PR ready for merge process
and removed
awaiting review
Pull request awaiting review
ready to pull
PR ready for merge process
labels
Apr 28, 2020
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
ready to pull
PR ready for merge process
size:S
CL Change Size: Small
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The test case
BasicInterpreter.ThreeStepAllocate
in/tensorflow/lite/interpreter_test.cc
uses an array of little-endian binary data as one of its inputs. The little-endian data prevents this test from working properly on big-endian machines.This pull request replaces the array of little-endian data with a struct, so that the embedded 32-bit fields will be in little-endian format on little-endian machines and in big-endian format on big-endian machines. After this change, the test case passes on both little-endian and big-endian machines.