mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-02 10:17:54 +00:00
This partially reverts commit 1e9b4c5d84. The make helpers for running the inference code generator were somewhat of a hack due to the desire to integrate a target-specific preprocessor binary as part of the process. Since that is no longer necessary, we can now switch over to just using Bazel for running the code generator.
BUG=b/294230402
739 B
739 B
Codegen Hello World Example
This is a code-generated example of the hello world model. The generated source is checked in for now so that it can be reviewed during the prototyping stage.
Building the example executable
Please note that this will execute Bazel from make as part of the process.
bazel build //codegen/examples/hello_world:hello_world
Running the example
TODO(rjascani): The command works, but it'll just crash as we don't have all of the data structures fully populated yet.
bazel run //codegen/examples/hello_world:hello_world
Updating the generated sources
To update the generated source, you can execute this make target:
./codegen/examples/hello_world/update_example_source.sh