Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build TFLM with Cmake and trace Makefile for specific target? #3024

Open
aidevmin opened this issue Dec 19, 2024 · 0 comments
Open

How to build TFLM with Cmake and trace Makefile for specific target? #3024

aidevmin opened this issue Dec 19, 2024 · 0 comments

Comments

@aidevmin
Copy link

My question is same as the title. Because some time, I want to add another library to run TFLM on PC. As my understanding, currently Makefile is used to build the TFLM, but it is quite difficult to trace and understand.

I trace Makefile for this example https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/examples/person_detection
I run Makefile target make -f tensorflow/lite/micro/tools/make/Makefile person_detection_bin but I could not trace what Makefile is called and what exact finally command is executed (command likes as follow: g++ gen/person_detection_bin lib-tensorflowlite.a to generate target binary person_detection_bin).

Moreover I tried to add custom operators to TFLM, it depends on static library and some .cc, .h. Because I dont know Makefile is too verbosed and I did not know exact the Makefile and what command is executed in Makefile ==> I could not add custom operator.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant