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 #2212

Closed
wants to merge 4 commits into from
Closed

Commits on Sep 7, 2023

  1. Create codegen_preprocessor

    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 committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    a1c38b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Create Make helpers for running codegen

    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.
    rascani committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    2765581 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80c9a38 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Fixes for CI

    rascani committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    a3a7b7f View commit details
    Browse the repository at this point in the history