tree: 54ebae57f9cc17f0fd9c69f5e864bf4bee9b8a69 [path history] [tgz]
  1. hello_world.cc
  2. hello_world_model.cc
  3. hello_world_model.h
  4. Makefile.inc
  5. README.md
  6. update_example_source.sh
codegen/examples/hello_world/README.md

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.

make -f tensorflow/lite/micro/tools/make/Makefile codegen_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.

make -f tensorflow/lite/micro/tools/make/Makefile run_codegen_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