mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-02 10:17:54 +00:00
- Upgraded the Bazel BuildTool to the latest version (8.2.1). - Updated the `tflm-ci` Docker image and pushed the new tag (0.6.1) to the `ghcr.io/tflm-bot/tflm-ci registry`. - Updated the WORKSPACE to load `rules_cc` and `rules_shell` explicitly - Ran `buildifier` to ensure all BUILD files to have all the fixes. BUG=Clean-up |
||
|---|---|---|
| .. | ||
| BUILD | ||
| hello_world.cc | ||
| hello_world_model.cc | ||
| hello_world_model.h | ||
| README.md | ||
| update_example_source.sh | ||
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