Build custom TensorFlow library (libtf.a)

Hello, I’m hoping to build the OpenMV TensorFlow library (libtf.a) with some added operations and a few custom optimizations. How should I modify and build the library? Should I clone the OpenMV tensorflow-lib repository and then build it using the instructions there? Has anyone tried this before with any success?

Thanks!

Yeah, this works as easy as you think. Just modify the libtf.cc file. Rebuild. Then overwrite the library in the firmware. Then rebuild the firmware.

You might get out of flash space errors if you add too much stuff.