Skip to content

Commit 94f46f2

Browse files
committed
create TFLite library
1 parent 72c41d0 commit 94f46f2

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

Diff for: libraries/TFLiteMicro/library.properties

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name=TFLite Micro
2+
version=1.0.0
3+
author=Sanket Wadekar
4+
maintainer=Sanket Wadekar
5+
sentence=TensorFlow Lite for Microcontrollers
6+
paragraph=With this library you can train and deploy Machine Learning models on esp32 series of microcontrollers.
7+
url=https://www.tensorflow.org/lite/microcontrollers
8+
architectures=esp32,esp32s3

Diff for: libraries/TFLiteMicro/src/TFLIteMicro.h

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
// This header file is kept to avoid Invalid libary error prints while compiling TFLite Micro examples.

Diff for: libraries/TFLiteMicro/src/utility.h

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#pragma once
7+
#include <utility>
8+
/*
9+
The example sketches include "tensorflow/lite/micro/micro_interpreter.h" which internally include "utility.h" header file when compiling examples for Arduino (when -DARDUINO flag is passed to the compiler). This header file does not exist in esp32-arduino core. Hence, keeping this file here as a workaround and including an alternate header file.
10+
*/

0 commit comments

Comments
 (0)