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

Create codegen_preprocessor #2219

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

rascani
Copy link
Contributor

@rascani rascani commented Sep 12, 2023

This PR creates the initial scaffolding for the codegen preprocessor. The preprocessor is a target-specific binary that will take a model, load it into a TFLM Interpreter, perform the Init & Prepare stages, then serialize the resulting data structures to an output file. Currently, all this binary does is load the model file and write an output file that simply contains the source model path in it. This will be expanded as we expose the data.

BUG=b/295076056

This PR creates the initial scaffolding for the codegen preprocessor.
The preprocessor is a target-specific binary that will take a model,
load it into a TFLM Interpreter, perform the Init & Prepare stages, then
serialize the resulting data structures to an output file. Currently,
all this binary does is load the model file and write an output file
that simply contains the source model path in it. This will be expanded
as we expose the data.

BUG=b/295076056
@rascani rascani requested a review from a team as a code owner September 12, 2023 23:30
@rascani rascani added the ci:run label Sep 12, 2023
@TFLM-bot TFLM-bot removed the ci:run label Sep 12, 2023
@rascani rascani requested a review from suleshahid September 13, 2023 16:42
@rascani rascani merged commit 77e2cdb into tensorflow:main Sep 14, 2023
30 checks passed
@rascani rascani deleted the preprocessor_scaffolding branch September 14, 2023 20:08
Copy link
Collaborator

@suleshahid suleshahid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants