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

Refactor gen_test_model to separate module #414

Conversation

boomanaiden154
Copy link
Collaborator

This patch factors the _gen_test_model function in policy_saver_test
into a separate module in a new testing subdirectory to facilitate reuse
across tests. This is intended to be used in the regalloc_trace_worker
test which has to create a test model to test that everything works with
TFLite.

Created using spr 1.3.4
@boomanaiden154 boomanaiden154 changed the title Factor gen_test_model to separate module Refactor gen_test_model to separate module Jan 12, 2025
boomanaiden154 added a commit to boomanaiden154/ml-compiler-opt that referenced this pull request Jan 12, 2025
This patch factors the _gen_test_model function in policy_saver_test
into a separate module in a new testing subdirectory to facilitate reuse
across tests. This is intended to be used in the regalloc_trace_worker
test which has to create a test model to test that everything works with
TFLite.

Pull Request: google#414
boomanaiden154 added a commit to boomanaiden154/ml-compiler-opt that referenced this pull request Jan 12, 2025
This patch factors the _gen_test_model function in policy_saver_test
into a separate module in a new testing subdirectory to facilitate reuse
across tests. This is intended to be used in the regalloc_trace_worker
test which has to create a test model to test that everything works with
TFLite.

Pull Request: google#414
Created using spr 1.3.4
boomanaiden154 added a commit to boomanaiden154/ml-compiler-opt that referenced this pull request Jan 12, 2025
This patch factors the _gen_test_model function in policy_saver_test
into a separate module in a new testing subdirectory to facilitate reuse
across tests. This is intended to be used in the regalloc_trace_worker
test which has to create a test model to test that everything works with
TFLite.

Pull Request: google#414
Created using spr 1.3.4
@boomanaiden154 boomanaiden154 merged commit 28a0353 into main Jan 13, 2025
13 checks passed
@boomanaiden154 boomanaiden154 deleted the user/boomanaiden154/factor-gen_test_model-to-separate-module branch January 13, 2025 22:08
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

Successfully merging this pull request may close these issues.

2 participants