We need a C API for image embedding that can extract embeddings from images using TensorFlow Lite models…
We need a C API for image embedding that can extract embeddings from images using TensorFlow Lite models…: a task in LegoFlow-SWE (Harbor dataset). Currently, there is no supported way to compute cosine similarity between two embedding vectors via the C bindings; users must implement it themselves…
The task
Currently, there is no supported way to compute cosine similarity between two embedding vectors via the C bindings; users must implement it themselves after extracting the raw values. This is error‑prone and inconsistent with the existing C++ API which already provides this functionality.
Part of Lego-X/LegoFlow-SWE.