tflite-micro icon indicating copy to clipboard operation
tflite-micro copied to clipboard

feat(compression): implement model_editor for TFLite model manipulation

Open rkuester opened this issue 2 months ago • 2 comments

Implement unified module for creating, reading, and modifying TFLite models with a clean API. This provides an easy, readable solution for creating models in unit tests, unified with our need for editing models in the compression code itself.

The module eliminates manual index tracking and buffer management through automatic bookkeeping, supporting both declarative and imperative construction styles.

Supports quantization parameters (per-tensor and per-channel), metadata key-value pairs, and read-modify-write workflows.

BUG=part of #3256

rkuester avatar Dec 02 '25 18:12 rkuester