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

Closed
aidevmin opened this issue Dec 19, 2024 · 2 comments
Closed

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

aidevmin opened this issue Dec 19, 2024 · 2 comments
Labels

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

Copy link
Contributor

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

@github-actions github-actions bot added the Stale label Jan 13, 2025
Copy link
Contributor

"This issue is being closed because it has been marked as
stale for 5 days with no further activity."

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant