ml-models-public: Update codegen API for IREE release 237

Fix 242568306
Fix 241254202

IREE commits:

Bug: 242568306
Bug: 241254202
Change-Id: I8bf6c1cb78ffff4bcff6cbc1d5f59fa6d96a074c
10 files changed
tree: 7b3376e8b0127581d267b57733ce380191a90d18
  1. float_models/
  2. quant_models/
  3. test_data/
  4. CMakeLists.txt

Public ML model zoo

This is the model zoo for public models used in Shodan vector core examples.

Model discription


The person presence detection quantized model from


Mobilenet V1 float-point model from


Mobilenet V1 quantized model from


Mobilenet V2 quantized model from

Visualize the model

For tflite models, use the web-based visualization tool to inspect the file. The tool supports drag and drop or file GUI.

Test data

Test data for sample model inputs are in the “test_data” directory. Currently, only test data for the Human Presence Sensor model are included.


Test image files for Human Presence Sensor model, from ChromeOS codebase.

Model executables

For each model, the corresponding model executable under iree_exec can be built with the .c/.h files using sw/vec_iree project as library. They can be run as unit tests via lit framework using Renode or QEMU.