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 Make helpers for running codegen #2222

Merged
merged 6 commits into from
Sep 21, 2023

Conversation

rascani
Copy link
Contributor

@rascani rascani commented Sep 14, 2023

The codegen process is a multi-step process that requires compiling,
executing code under simulation, and executing python scripts. To
simplify this workflow, this commit adds Make helper functions for
generating inference source code from a model and creating a binary with
it.

It also updates the hello world example to use these helpers and adds an
update script for keeping the checked in generated source in sync.

BUG=cleanup

The codegen process is a multi-step process that requires compiling,
executing code under simulation, and executing python scripts. To
simplify this workflow, this commit adds Make helper functions for
generating inference source code from a model and creating a binary with
it.

It also updates the hello world example to use these helpers and adds an
update script for keeping the checked in generated source in sync.
Also eliminates needs for codegen examples to specify the runtime
objects
@rascani rascani added the ci:run label Sep 14, 2023
@TFLM-bot TFLM-bot removed the ci:run label Sep 14, 2023
@rascani rascani added the ci:run label Sep 15, 2023
@TFLM-bot TFLM-bot removed the ci:run label Sep 15, 2023
@rascani rascani marked this pull request as ready for review September 15, 2023 18:38
@rascani rascani requested a review from a team as a code owner September 15, 2023 18:38
@rascani
Copy link
Contributor Author

rascani commented Sep 21, 2023

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Sep 21, 2023

refresh

✅ Pull request refreshed

@mergify mergify bot merged commit 1e9b4c5 into tensorflow:main Sep 21, 2023
28 checks passed
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