Hi!
I have a TensorFlow Lite model that’s been converted into a hexadecimal byte array and embedded in a .h
file. My goal is to write plain C code (no external libraries) to:
- Decode the hex array back.
- Parse the resulting buffer to extract the model’s parameters (e.g. tensor shapes, weight values).
Since this will run on a resource-constrained embedded platform, I cannot rely on any heavy parsing libraries. What’s a good approach for:
Converting the hex string/array into a usable buffer?
Interpreting the TFLite FlatBuffer layout manually in C?
Any pointers, code snippets, or reference materials would be greatly appreciated!