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

Deal with non-deterministic input order for interpreter test #729

Merged
merged 2 commits into from
Apr 22, 2022

Conversation

CNugteren
Copy link
Contributor

What do these changes do?

In #722 I reversed the input order, but it seems that when re-running the test more often that the input order is not deterministic. This fix decides the input order of the test based on the shape.

How Has This Been Tested?

Running the test multiple times, e.g. bazelisk test larq_compute_engine/tflite/tests:interpreter_test --test_output=all --runs_per_test=30

Benchmark Results

N/A

Related issue number

N/A

@CNugteren CNugteren added the bug Something isn't working label Apr 21, 2022
@CNugteren CNugteren requested a review from a team April 21, 2022 15:22
@CNugteren CNugteren merged commit 288c3bf into main Apr 22, 2022
@CNugteren CNugteren deleted the fix_flaky_interpreter_test branch April 22, 2022 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants