{"id":28206693,"url":"https://github.com/iwatake2222/generic-tflmicro","last_synced_at":"2025-09-05T07:33:57.995Z","repository":{"id":49828040,"uuid":"352710853","full_name":"iwatake2222/generic-tflmicro","owner":"iwatake2222","description":"CMake project for TensorFlow Lite Micro","archived":false,"fork":false,"pushed_at":"2021-04-18T05:02:00.000Z","size":486,"stargazers_count":15,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-11T14:44:05.327Z","etag":null,"topics":["cmake","cpp","tensorflow","tensorflow-lite"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iwatake2222.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-29T16:29:15.000Z","updated_at":"2025-02-24T23:45:33.000Z","dependencies_parsed_at":"2022-08-25T18:22:05.229Z","dependency_job_id":null,"html_url":"https://github.com/iwatake2222/generic-tflmicro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iwatake2222/generic-tflmicro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwatake2222%2Fgeneric-tflmicro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwatake2222%2Fgeneric-tflmicro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwatake2222%2Fgeneric-tflmicro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwatake2222%2Fgeneric-tflmicro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iwatake2222","download_url":"https://codeload.github.com/iwatake2222/generic-tflmicro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwatake2222%2Fgeneric-tflmicro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273727494,"owners_count":25157131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","cpp","tensorflow","tensorflow-lite"],"created_at":"2025-05-17T10:10:15.032Z","updated_at":"2025-09-05T07:33:57.979Z","avatar_url":"https://github.com/iwatake2222.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generic-tflmicro\r\n- This repository provides:\r\n\t- cmake project to generate TensorFlow Lite for Microcontrollers ( TFLM ) as a library\r\n\t\t- You can easily use TFLM in your project by adding this repository as git-submodule\r\n\t- sample project (hello world project) to use the TFLM library\r\n\r\n- The TFLM library in this repo doesn't have platform-specific hardware optimizations. So the library should run on any platform\r\n\t- I made this repository mainly for development on PC (Windows and Linux on x64)\r\n\t- When you use a specific hardware like Arduino, it' better to create a new library for the device to get better performance\r\n\r\n## How to build\r\n### PC Linux (x64)\r\n```sh\r\nmkdir -p build \u0026\u0026 cd build/\r\ncmake ..\r\nmake -j4\r\n./examples/hello_world/hello_world \r\n```\r\n### Windows (Visual Studio 2019) (x64)\r\n- Use cmake-gui\r\n\r\n## How to use in your project\r\nRefer to [examples/hello_world/CMakeLists.txt](examples/hello_world/CMakeLists.txt)\r\n\r\n## How this repository was generated\r\n- Clone code and generate all projects\r\n\t- It's actually no need to generate all projects, but just generating hello_world project didn't work to me\r\n```sh\r\ngit clone https://github.com/tensorflow/tensorflow.git\r\ncd tensorflow\r\n# git checkout 1e8f4666f2fbc1bdd4ce2797b218de0453cffc63\r\n\r\nmake -f tensorflow/lite/micro/tools/make/Makefile generate_projects\r\n# make -f tensorflow/lite/micro/tools/make/Makefile generate_hello_world_make_project\r\n\r\nls tensorflow/lite/micro/tools/make/gen/linux_x86_64_default/prj/hello_world/tensorflow_lite.zip\r\n```\r\n\r\n- Add CMakeLists.txt files\r\n- Do some modifications (see commit log to find diff)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwatake2222%2Fgeneric-tflmicro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiwatake2222%2Fgeneric-tflmicro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwatake2222%2Fgeneric-tflmicro/lists"}